mirror of
https://github.com/umputun/reproxy.git
synced 2025-11-29 22:08:14 +02:00
Update base image in Dockerfile to latest version, add note on user
This commit is contained in:
committed by
Umputun
parent
b616e1b4eb
commit
1de0024988
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user