Skip to content

Commit

Permalink
chore: docker image runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Apr 24, 2024
1 parent d5637a0 commit 9a0277f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.file-exchange
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN set -x \
COPY --from=build-image /file-exchange/target/release/file-exchange /file-exchange/target/release/file-exchange
RUN upx --overlay=strip --best /file-exchange/target/release/file-exchange

FROM gcr.io/distroless/cc AS runtime
FROM debian:bullseye-slim as runtime
COPY --from=build-image /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=build-image /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build-image /etc/passwd /etc/passwd
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.file-service
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN set -x \
COPY --from=build-image /file-service/target/release/file-service /file-service/target/release/file-service
RUN upx --overlay=strip --best /file-service/target/release/file-service

FROM gcr.io/distroless/cc AS runtime
FROM debian:bullseye-slim as runtime
COPY --from=build-image /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=build-image /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build-image /etc/passwd /etc/passwd
Expand Down

0 comments on commit 9a0277f

Please sign in to comment.