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