mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-23 00:52:02 +01:00
f7436f7f37
The dockerfile was also streamlined. Two unneeded -already in Alpine- packages (procps and tar) were removed. The MAINTAINER statment has been deprecated in favor of the maintainer LABEL.
32 lines
853 B
Docker
32 lines
853 B
Docker
FROM alpine:3.6
|
|
|
|
LABEL maintainer="Yves Blusseau <90z7oey02@sneakemail.com> (@blusseau)"
|
|
|
|
ENV DEBUG=false \
|
|
DOCKER_GEN_VERSION=0.7.3 \
|
|
DOCKER_HOST=unix:///var/run/docker.sock
|
|
|
|
# Install packages required by the image
|
|
RUN apk add --update \
|
|
bash \
|
|
ca-certificates \
|
|
curl \
|
|
jq \
|
|
openssl \
|
|
&& rm /var/cache/apk/*
|
|
|
|
# Install docker-gen
|
|
RUN curl -L https://github.com/jwilder/docker-gen/releases/download/${DOCKER_GEN_VERSION}/docker-gen-linux-amd64-${DOCKER_GEN_VERSION}.tar.gz \
|
|
| tar -C /usr/local/bin -xz
|
|
|
|
# Install simp_le
|
|
COPY /install_simp_le.sh /app/install_simp_le.sh
|
|
RUN chmod +rx /app/install_simp_le.sh && sync && /app/install_simp_le.sh && rm -f /app/install_simp_le.sh
|
|
|
|
COPY /app/ /app/
|
|
|
|
WORKDIR /app
|
|
|
|
ENTRYPOINT [ "/bin/bash", "/app/entrypoint.sh" ]
|
|
CMD [ "/bin/bash", "/app/start.sh" ]
|