mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:58:08 +02:00
Don't install unnecessary packages in Dockerfile
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
FROM python:2-alpine
|
||||
MAINTAINER Jakub Warmuz <jakub@warmuz.org>
|
||||
MAINTAINER William Budington <bill@eff.org>
|
||||
|
||||
EXPOSE 80 443
|
||||
VOLUME /etc/letsencrypt /var/lib/letsencrypt
|
||||
@@ -9,11 +7,8 @@ ENTRYPOINT [ "certbot" ]
|
||||
COPY . src
|
||||
|
||||
RUN apk add --no-cache --virtual .certbot-deps \
|
||||
dialog \
|
||||
augeas-libs \
|
||||
libffi \
|
||||
libssl1.0 \
|
||||
wget \
|
||||
ca-certificates \
|
||||
binutils
|
||||
RUN apk add --no-cache --virtual .build-deps \
|
||||
@@ -25,6 +20,4 @@ RUN apk add --no-cache --virtual .build-deps \
|
||||
&& pip install --no-cache-dir \
|
||||
--editable /opt/certbot/src/acme \
|
||||
--editable /opt/certbot/src \
|
||||
--editable /opt/certbot/src/certbot-apache \
|
||||
--editable /opt/certbot/src/certbot-nginx \
|
||||
&& apk del .build-deps
|
||||
|
||||
Reference in New Issue
Block a user