Skip to content

Commit

Permalink
Update Dockerfile.rootless to include explicitly version tags
Browse files Browse the repository at this point in the history
Tag the version of the base image explicitly on the Dockerfile
  • Loading branch information
katosdev authored Jun 30, 2024
1 parent dee35e1 commit a053abf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.rootless
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ RUN CGO_ENABLED=0 GOOS=linux go build \
ADD https://busybox.net/downloads/binaries/$BUSYBOX_VERSION/busybox_WGET /wget
RUN chmod a+x /wget

FROM gcr.io/distroless/java
FROM gcr.io/distroless/java:latest

COPY --from=builder /wget /usr/bin/wget

# Production Stage
FROM gcr.io/distroless/static
FROM gcr.io/distroless/static:latest

ENV HBOX_MODE=production
ENV HBOX_STORAGE_DATA=/data/
Expand Down

0 comments on commit a053abf

Please sign in to comment.