Skip to content

Commit f22c0c3

Browse files
authored
Merge pull request #2 from wahl-dev/feat/remove-distroless-docker-image
switch base image from distroless to debian:12-slim
2 parents a9f2950 + c39680d commit f22c0c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docker/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ COPY . /app
1010
RUN cargo build --release
1111

1212

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

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

0 commit comments

Comments
 (0)