2022-12-01 23:02:03 +01:00
|
|
|
FROM alpine:3.17
|
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 13:15:24 +01:00
|
|
|
bash \
|
|
|
|
curl \
|
|
|
|
openssl \
|
|
|
|
bind-tools \
|
|
|
|
jq \
|
|
|
|
mariadb-client \
|
|
|
|
redis \
|
2018-06-27 22:50:31 +02:00
|
|
|
tini \
|
2019-02-04 22:36:17 +01:00
|
|
|
tzdata \
|
2019-05-20 21:32:04 +02:00
|
|
|
python3 \
|
2021-02-18 08:48:12 +01:00
|
|
|
py3-pip \
|
|
|
|
&& pip3 install --upgrade pip \
|
|
|
|
&& pip3 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"]
|