From 9bfd7f8d516ddf59973f671397bd7b34099c784f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 14 Feb 2020 22:38:02 +0100 Subject: [PATCH] Add SSL certs to container for SMTP STARTTLS --- Dockerfile | 5 +++++ guichet.hcl.example | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 05efce0..69f7f3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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