Skip to content

Commit

Permalink
fix certbot
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Mar 27, 2021
1 parent 39309ee commit 8ff9913
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions certbot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,6 @@ LABEL maintainer "Jessie Frazelle <[email protected]>"

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" ]

0 comments on commit 8ff9913

Please sign in to comment.