Skip to content

Commit

Permalink
Upgrade Debian base image for Dockerfile.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
karimodm committed Oct 17, 2023
1 parent 72c8da5 commit 44c1835
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG WITH_GO_WORK=0
# https://hub.docker.com/_/golang
FROM golang:1.21-bullseye AS base
FROM golang:1.21-bookworm AS base

ARG BUILD_TAGS=rocksdb

Expand Down Expand Up @@ -57,9 +57,9 @@ RUN mkdir -p /app/data/peerdb
############################
# Runtime Image
############################
# https://console.cloud.google.com/gcr/images/distroless/global/cc-debian11
# https://console.cloud.google.com/gcr/images/distroless/global/cc-debian12
# using distroless cc "nonroot" image, which includes everything in the base image (glibc, libssl and openssl)
FROM gcr.io/distroless/cc-debian11:nonroot
FROM gcr.io/distroless/cc-debian12:nonroot

# Copy the app dir into distroless image
COPY --chown=nonroot:nonroot --from=build /app /app
Expand Down

0 comments on commit 44c1835

Please sign in to comment.