diff --git a/2.10/alpine/Dockerfile b/2.10/alpine/Dockerfile index 044ea3a..0105d95 100644 --- a/2.10/alpine/Dockerfile +++ b/2.10/alpine/Dockerfile @@ -13,6 +13,7 @@ RUN set -eux; \ /etc/caddy \ /usr/share/caddy \ ; \ + chmod 1777 /config/caddy /data/caddy; \ wget -O /etc/caddy/Caddyfile "https://github.com/caddyserver/dist/raw/33ae08ff08d168572df2956ed14fbc4949880d94/config/Caddyfile"; \ wget -O /usr/share/caddy/index.html "https://github.com/caddyserver/dist/raw/33ae08ff08d168572df2956ed14fbc4949880d94/welcome/index.html" diff --git a/2.11/alpine/Dockerfile b/2.11/alpine/Dockerfile index 2b2a055..394fba8 100644 --- a/2.11/alpine/Dockerfile +++ b/2.11/alpine/Dockerfile @@ -13,6 +13,7 @@ RUN set -eux; \ /etc/caddy \ /usr/share/caddy \ ; \ + chmod 1777 /config/caddy /data/caddy; \ wget -O /etc/caddy/Caddyfile "https://github.com/caddyserver/dist/raw/33ae08ff08d168572df2956ed14fbc4949880d94/config/Caddyfile"; \ wget -O /usr/share/caddy/index.html "https://github.com/caddyserver/dist/raw/33ae08ff08d168572df2956ed14fbc4949880d94/welcome/index.html" diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index e2f40fc..9bd642a 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -13,6 +13,7 @@ RUN set -eux; \ /etc/caddy \ /usr/share/caddy \ ; \ + chmod 1777 /config/caddy /data/caddy; \ wget -O /etc/caddy/Caddyfile "https://github.com/caddyserver/dist/raw/{{ .config.dist_commit }}/config/Caddyfile"; \ wget -O /usr/share/caddy/index.html "https://github.com/caddyserver/dist/raw/{{ .config.dist_commit }}/welcome/index.html"