Update caddy proxy

This commit is contained in:
Arnie
2018-12-10 13:35:37 +01:00
parent 75be9aef27
commit 52e3e92452
4 changed files with 9 additions and 37 deletions
+5 -8
View File
@@ -1,10 +1,8 @@
FROM alpine:3.6
FROM alpine:3.8
LABEL maintainer="Nikita Sobolev <sobolevn@wemake.services>"
ARG CADDY_VERSION="0.10.10"
ARG CADDY_VERSION="0.11.1"
ARG FOREGO_VERSION="0.16.1"
ARG DOCKER_GEN_VERSION="0.7.3"
ARG DOCKER_GEN_VERSION="0.7.4"
ENV CADDYPATH="/etc/caddy"
ENV DOCKER_HOST unix:///tmp/docker.sock
@@ -12,9 +10,8 @@ ENV DOCKER_HOST unix:///tmp/docker.sock
# Install wget and install/updates certificates
RUN apk update && apk upgrade \
&& apk add --no-cache bash openssh-client git \
&& apk add --no-cache --virtual .build-dependencies curl wget tar
RUN apk add --no-cache bash openssh-client git && \
apk add --no-cache --virtual .build-dependencies curl wget tar
# Install Forego
@@ -39,7 +39,9 @@ http://{{ $host }}, https://{{ $host }} {
{{ end }}
}
gzip
gzip {
not /__webpack_hmr/
}
log stdout
errors stderr
}