From 1de0024988aaeb38ffd17d10c4f1e6c19f5be5f2 Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Sun, 16 Mar 2025 17:49:28 +0000 Subject: [PATCH] Update base image in Dockerfile to latest version, add note on user --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c591b0a..b818827 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN \ cd app && go build -o /build/reproxy -ldflags "-X main.revision=${version} -s -w" -FROM ghcr.io/umputun/baseimage/app:v1.12.0 as base +FROM ghcr.io/umputun/baseimage/app:v1.15.0 as base FROM scratch LABEL org.opencontainers.image.source="https://github.com/umputun/reproxy" @@ -31,5 +31,6 @@ COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=base /etc/passwd /etc/passwd COPY --from=base /etc/group /etc/group +# user is implicitly set to `root`, learn how to use non-root user here: https://reproxy.io/#container-security WORKDIR /srv ENTRYPOINT ["/srv/reproxy"]