Use gomplate in Dockerfile
This commit is contained in:
parent
28c1686d56
commit
30c35e2d9e
|
@ -1,4 +1,4 @@
|
||||||
FROM danielberteaud/alpine:latest
|
FROM [[ .docker.repo ]][[ .docker.base_images.alpine ]]
|
||||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||||
|
|
||||||
ENV ACME_HTTP_PORT=8787 \
|
ENV ACME_HTTP_PORT=8787 \
|
||||||
|
@ -19,7 +19,7 @@ RUN set -eu &&\
|
||||||
chown acme:acme /secrets &&\
|
chown acme:acme /secrets &&\
|
||||||
setcap -r /usr/sbin/vault
|
setcap -r /usr/sbin/vault
|
||||||
|
|
||||||
COPY resources/ /
|
COPY root/ /
|
||||||
|
|
||||||
USER acme
|
USER acme
|
||||||
EXPOSE ${ACME_HTTP_PORT}
|
EXPOSE ${ACME_HTTP_PORT}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
acme:
|
acme:
|
||||||
# The Docker image to use
|
# The Docker image to use
|
||||||
image: danielberteaud/acme-to-vault:20230821-2
|
image: danielberteaud/acme-to-vault:20230828-1
|
||||||
|
|
||||||
# If a cron expression is defined, the service will stay running and renew certs.
|
# If a cron expression is defined, the service will stay running and renew certs.
|
||||||
# If an empty string, the container will exit after running once
|
# If an empty string, the container will exit after running once
|
||||||
|
|
Loading…
Reference in New Issue
Block a user