mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
Alex Palaistras
d5d75b3995
This improves security and ensures that files end up under a consistent set of UID and GID values.
10 lines
279 B
Docker
10 lines
279 B
Docker
FROM docker.io/goacme/lego:v4.4.0
|
|
|
|
RUN addgroup --system --gid 10000 letsencrypt
|
|
RUN adduser --system --uid 10000 --ingroup letsencrypt --home /var/lib/letsencrypt letsencrypt
|
|
|
|
RUN apk --no-cache --no-progress add gosu
|
|
COPY container/run-lego /run-lego
|
|
|
|
ENTRYPOINT ["/run-lego"]
|