Files
addons/letsencrypt/Dockerfile
Pascal Vizeli 012f2e600e Update le to use our python images (#543)
* Update le to use our python images

* Add helper for build

* Fix build
2019-03-11 16:26:05 +01:00

17 lines
381 B
Docker

ARG BUILD_FROM
FROM $BUILD_FROM
# Setup base
ARG CERTBOT_VERSION
RUN apk add --no-cache \
openssl libffi musl libstdc++ \
&& apk add --no-cache --virtual .build-dependencies \
g++ musl-dev openssl-dev libffi-dev \
&& pip3 install --no-cache-dir certbot==${CERTBOT_VERSION} \
&& apk del .build-dependencies
# Copy data
COPY run.sh /
CMD [ "/run.sh" ]