Skip to content

Commit

Permalink
Merge pull request #2 from wahl-dev/feat/remove-distroless-docker-image
Browse files Browse the repository at this point in the history
switch base image from distroless to debian:12-slim
  • Loading branch information
Wahib-L authored Jan 14, 2025
2 parents a9f2950 + c39680d commit f22c0c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ COPY . /app
RUN cargo build --release


FROM gcr.io/distroless/cc-debian12 AS final
COPY --from=build /app/target/release/wrpt .
FROM debian:12-slim AS final

ENTRYPOINT ["./wrpt"]
COPY --from=build /app/target/release/wrpt /usr/bin/
COPY --from=docker/compose-bin:2.17.0 /docker-compose /usr/bin/compose

ENTRYPOINT ["/bin/wrpt"]

0 comments on commit f22c0c3

Please sign in to comment.