2019-07-22 21:08:11 +02:00
|
|
|
FROM alpine:3.10
|
2017-06-12 10:45:12 +02:00
|
|
|
|
|
|
|
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
|
|
|
|
2019-07-09 08:59:07 +02:00
|
|
|
RUN apk upgrade --no-cache \
|
|
|
|
&& apk add --update --no-cache \
|
2017-12-09 14:15:24 +02:00
|
|
|
bash \
|
|
|
|
curl \
|
|
|
|
openssl \
|
|
|
|
bind-tools \
|
|
|
|
jq \
|
|
|
|
mariadb-client \
|
|
|
|
redis \
|
2018-06-27 22:50:31 +02:00
|
|
|
tini \
|
2019-02-04 23:36:17 +02:00
|
|
|
tzdata \
|
2019-05-20 21:32:04 +02:00
|
|
|
python3 \
|
|
|
|
&& python3 -m pip install --upgrade pip \
|
|
|
|
&& python3 -m pip install acme-tiny
|
2017-06-12 10:45:12 +02:00
|
|
|
|
2019-10-18 12:01:47 +02:00
|
|
|
COPY acme.sh /srv/acme.sh
|
2019-10-19 12:48:56 +02:00
|
|
|
COPY functions.sh /srv/functions.sh
|
|
|
|
COPY obtain-certificate.sh /srv/obtain-certificate.sh
|
|
|
|
COPY reload-configurations.sh /srv/reload-configurations.sh
|
2018-06-26 23:10:24 +02:00
|
|
|
COPY expand6.sh /srv/expand6.sh
|
2017-06-12 10:45:12 +02:00
|
|
|
|
2019-10-19 12:48:56 +02:00
|
|
|
RUN chmod +x /srv/*.sh
|
|
|
|
|
2019-10-18 12:01:47 +02:00
|
|
|
CMD ["/sbin/tini", "-g", "--", "/srv/acme.sh"]
|