forked from nginx-proxy/acme-companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (18 loc) · 880 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM alpine:3.3
MAINTAINER Yves Blusseau <[email protected]> (@blusseau)
ENV DEBUG=false \
DOCKER_GEN_VERSION=0.7.3 \
DOCKER_HOST=unix:///var/run/docker.sock
RUN apk --update add bash curl ca-certificates procps jq tar && \
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 && \
apk del tar && \
rm -rf /var/cache/apk/*
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/