mirror of
https://github.com/maxkratz/dockerfiles.git
synced 2024-09-08 00:03:50 +00:00
fix certbot
Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
parent
39309ee3d7
commit
8ff991327f
1 changed files with 1 additions and 24 deletions
|
@ -3,29 +3,6 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|||
|
||||
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" ]
|
||||
|
|
Loading…
Reference in a new issue