Use gomplate in Dockerfile
This commit is contained in:
parent
5799e04123
commit
39842f3b31
|
@ -1,10 +1,10 @@
|
|||
FROM alpine:latest
|
||||
FROM [[ .docker.repo ]][[ .docker.base_images.alpine ]]
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ENV SSHD_PORT=2022 \
|
||||
SSHD_LOG_LEVEL=INFO
|
||||
|
||||
COPY resources/ /
|
||||
COPY root/ /
|
||||
RUN set -eux &&\
|
||||
apk --no-cache upgrade &&\
|
||||
apk --no-cache add tini openssh-server rsync envsubst &&\
|
||||
|
|
|
@ -111,6 +111,7 @@ _EOF
|
|||
|
||||
env {
|
||||
SSHD_PORT = "${NOMAD_PORT_ssh}"
|
||||
[[ template "common/env.tpl" .repo.rsync.env ]]
|
||||
}
|
||||
|
||||
vault {
|
||||
|
|
Loading…
Reference in New Issue
Block a user