Skip to content

Commit 8ff9913

Browse files
committed
fix certbot
Signed-off-by: Jess Frazelle <[email protected]>
1 parent 39309ee commit 8ff9913

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

certbot/Dockerfile

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,6 @@ LABEL maintainer "Jessie Frazelle <[email protected]>"
33

44
RUN apk --no-cache add \
55
bash \
6-
libffi \
7-
libressl \
8-
python3
9-
10-
ENV CERTBOT_VERSION 1.5.0
11-
12-
RUN buildDeps=' \
13-
build-base \
14-
git \
15-
libffi-dev \
16-
libressl-dev \
17-
python3-dev \
18-
py3-pip \
19-
' \
20-
set -x \
21-
&& apk --no-cache add $buildDeps \
22-
&& pip3 install acme \
23-
&& git clone --depth 1 --branch "v$CERTBOT_VERSION" https://github.com/certbot/certbot /usr/src/certbot \
24-
&& cd /usr/src/certbot/certbot \
25-
&& python3 setup.py build || return 1 \
26-
&& python3 setup.py install --prefix=/usr || return 1 \
27-
&& rm -rf /usr/src/certbot \
28-
&& apk del $buildDeps \
29-
&& echo "Build complete."
6+
certbot
307

318
ENTRYPOINT [ "certbot" ]

0 commit comments

Comments
 (0)