2023-12-13 19:39:21 +02:00
|
|
|
FROM alpine:3.19
|
2017-06-12 10:45:12 +02:00
|
|
|
|
2023-05-30 16:20:35 +02:00
|
|
|
LABEL maintainer "The Infrastructure Company GmbH <info@servercow.de>"
|
2017-06-12 10:45:12 +02:00
|
|
|
|
2023-12-13 19:39:21 +02:00
|
|
|
ARG PIP_BREAK_SYSTEM_PACKAGES=1
|
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 \
|
2021-02-18 09:48:12 +02: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"]
|