Merge pull request #10 from cwildfoerster/healthcheck

fix missing curl
This commit is contained in:
Constantin 2020-01-25 15:27:49 +01:00 committed by GitHub
commit 561b623c6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ LABEL maintainer="Jason Wilder mail@jasonwilder.com"
RUN apt-get update \
&& apt-get install -y -q --no-install-recommends \
ca-certificates \
wget \
wget curl \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*
@ -33,7 +33,7 @@ ENV DOCKER_HOST unix:///tmp/docker.sock
VOLUME ["/etc/nginx/certs", "/etc/nginx/dhparam"]
HEALTHCHECK --start-period=1m CMD /app/docker-healthcheck.sh || exit 1
HEALTHCHECK --start-period=10s CMD /app/docker-healthcheck.sh || exit 1
ENTRYPOINT ["/app/docker-entrypoint.sh"]
CMD ["forego", "start", "-r"]

View file

@ -3,7 +3,7 @@ LABEL maintainer="Jason Wilder mail@jasonwilder.com"
# Install wget and install/updates certificates
RUN apk add --no-cache --virtual .run-deps \
ca-certificates bash wget openssl \
ca-certificates bash wget openssl curl \
&& update-ca-certificates
@ -30,7 +30,7 @@ ENV DOCKER_HOST unix:///tmp/docker.sock
VOLUME ["/etc/nginx/certs", "/etc/nginx/dhparam"]
HEALTHCHECK --start-period=1m CMD /app/docker-healthcheck.sh || exit 1
HEALTHCHECK --start-period=10s CMD /app/docker-healthcheck.sh || exit 1
ENTRYPOINT ["/app/docker-entrypoint.sh"]
CMD ["forego", "start", "-r"]