mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
Update Dockerfile.rootless to include explicitly version tags
Tag the version of the base image explicitly on the Dockerfile
This commit is contained in:
@@ -35,12 +35,12 @@ RUN CGO_ENABLED=0 GOOS=linux go build \
|
|||||||
ADD https://busybox.net/downloads/binaries/$BUSYBOX_VERSION/busybox_WGET /wget
|
ADD https://busybox.net/downloads/binaries/$BUSYBOX_VERSION/busybox_WGET /wget
|
||||||
RUN chmod a+x /wget
|
RUN chmod a+x /wget
|
||||||
|
|
||||||
FROM gcr.io/distroless/java
|
FROM gcr.io/distroless/java:latest
|
||||||
|
|
||||||
COPY --from=builder /wget /usr/bin/wget
|
COPY --from=builder /wget /usr/bin/wget
|
||||||
|
|
||||||
# Production Stage
|
# Production Stage
|
||||||
FROM gcr.io/distroless/static
|
FROM gcr.io/distroless/static:latest
|
||||||
|
|
||||||
ENV HBOX_MODE=production
|
ENV HBOX_MODE=production
|
||||||
ENV HBOX_STORAGE_DATA=/data/
|
ENV HBOX_STORAGE_DATA=/data/
|
||||||
|
|||||||
Reference in New Issue
Block a user