mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-26 13:03:52 +01:00
6f731e4716
No need to have the docker binary
26 lines
873 B
Docker
26 lines
873 B
Docker
FROM alpine:latest
|
|
|
|
MAINTAINER Yves Blusseau <90z7oey02@sneakemail.com> (@blusseau)
|
|
|
|
ENV DEBUG=false \
|
|
DOCKER_GEN_VERSION=0.4.3 \
|
|
DOCKER_HOST=unix:///var/run/docker.sock
|
|
|
|
RUN apk --update add bash curl ca-certificates tar procps jq && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
RUN curl -L -O 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 -xvzf docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz \
|
|
&& rm -f docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz
|
|
|
|
WORKDIR /app
|
|
|
|
# Install simp_le program
|
|
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
|
|
|
|
ENTRYPOINT ["/bin/bash", "/app/entrypoint.sh" ]
|
|
CMD ["/bin/bash", "/app/start.sh" ]
|
|
|
|
COPY /app/ /app/
|