diff --git a/lib/workload/stateless/stacks/filemanager/Dockerfile b/lib/workload/stateless/stacks/filemanager/Dockerfile index b0415fbfd..94e631ef1 100644 --- a/lib/workload/stateless/stacks/filemanager/Dockerfile +++ b/lib/workload/stateless/stacks/filemanager/Dockerfile @@ -2,7 +2,7 @@ # When running this microservice from the Docker Compose root, this Dockerfile # will build the image, install dependencies, and start the server -FROM lukemathwalker/cargo-chef:latest-rust-1 AS chef +FROM public.ecr.aws/docker/library/rust:1.81 AS chef ARG DATABASE_URL ENV DATABASE_URL $DATABASE_URL @@ -10,7 +10,7 @@ ENV DATABASE_URL $DATABASE_URL WORKDIR /app # rustfmt is used for code gen. -RUN rustup component add rustfmt +RUN cargo install cargo-chef && rustup component add rustfmt FROM chef AS planner @@ -27,7 +27,7 @@ RUN cargo chef cook COPY . . RUN cargo build --bin filemanager-api-server -FROM debian:bookworm-slim AS runtime +FROM public.ecr.aws/docker/library/debian:bookworm-slim AS runtime # curl is used for healthcheck. RUN apt -y update && apt -y install curl