Skip to content

Commit c39680d

Browse files
committed
chore(docker): switch base image from distroless to debian:12-slim for better compatibility and add docker-compose binary to the image
1 parent 62fe521 commit c39680d

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)