From 8ff991327fd1c68369c2fb576215d0eabffca0e1 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Sat, 27 Mar 2021 11:30:56 -0700 Subject: [PATCH] fix certbot Signed-off-by: Jess Frazelle --- certbot/Dockerfile | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/certbot/Dockerfile b/certbot/Dockerfile index 28edf89..3c6b819 100644 --- a/certbot/Dockerfile +++ b/certbot/Dockerfile @@ -3,29 +3,6 @@ LABEL maintainer "Jessie Frazelle " RUN apk --no-cache add \ bash \ - libffi \ - libressl \ - python3 - -ENV CERTBOT_VERSION 1.5.0 - -RUN buildDeps=' \ - build-base \ - git \ - libffi-dev \ - libressl-dev \ - python3-dev \ - py3-pip \ - ' \ - set -x \ - && apk --no-cache add $buildDeps \ - && pip3 install acme \ - && git clone --depth 1 --branch "v$CERTBOT_VERSION" https://github.com/certbot/certbot /usr/src/certbot \ - && cd /usr/src/certbot/certbot \ - && python3 setup.py build || return 1 \ - && python3 setup.py install --prefix=/usr || return 1 \ - && rm -rf /usr/src/certbot \ - && apk del $buildDeps \ - && echo "Build complete." + certbot ENTRYPOINT [ "certbot" ]