mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:32:13 +02:00
Update Dockerfile-dev (#8774)
* switch Dockerfile-dev to Ubuntu Focal * Make apt noninteractive * add --no-install-recommends
This commit is contained in:
+4
-3
@@ -1,5 +1,5 @@
|
|||||||
# This Dockerfile builds an image for development.
|
# This Dockerfile builds an image for development.
|
||||||
FROM debian:buster
|
FROM ubuntu:focal
|
||||||
|
|
||||||
# Note: this only exposes the port to other docker containers.
|
# Note: this only exposes the port to other docker containers.
|
||||||
EXPOSE 80 443
|
EXPOSE 80 443
|
||||||
@@ -8,8 +8,9 @@ WORKDIR /opt/certbot/src
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install apache2 git python3-dev python3-venv gcc libaugeas0 \
|
DEBIAN_FRONTEND=noninteractive apt-get install apache2 git python3-dev \
|
||||||
libssl-dev libffi-dev ca-certificates openssl nginx-light -y && \
|
python3-venv gcc libaugeas0 libssl-dev libffi-dev ca-certificates \
|
||||||
|
openssl nginx-light -y --no-install-recommends && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* \
|
rm -rf /var/lib/apt/lists/* \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
|
|||||||
Reference in New Issue
Block a user