diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-14 22:38:02 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-14 22:38:02 +0100 |
commit | 9bfd7f8d516ddf59973f671397bd7b34099c784f (patch) | |
tree | e466f3a60fd8b0844a57a78b64f1a7c6129431dc | |
parent | 3dca3a2e3324b3198fc80878761b77f3502eff3d (diff) | |
download | guichet-9bfd7f8d516ddf59973f671397bd7b34099c784f.tar.gz guichet-9bfd7f8d516ddf59973f671397bd7b34099c784f.zip |
Add SSL certs to container for SMTP STARTTLS
-rw-r--r-- | Dockerfile | 5 | ||||
-rw-r--r-- | guichet.hcl.example | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ +FROM alpine:latest as certs +RUN apk --update add ca-certificates + FROM scratch +COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt + ADD static /static ADD guichet.static /guichet ADD templates /templates diff --git a/guichet.hcl.example b/guichet.hcl.example index 740ab23..3136956 100644 --- a/guichet.hcl.example +++ b/guichet.hcl.example @@ -12,7 +12,7 @@ job "guichet" { task "server" { driver = "docker" config { - image = "lxpz/guichet_amd64:6" + image = "lxpz/guichet_amd64:7" readonly_rootfs = true port_map { web_port = 9991 |