Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Dockerfile-dev - github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 895dbdc0bb8580748917564275470e20addd2440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This Dockerfile builds an image for development.
FROM ubuntu:focal

# Note: this only exposes the port to other docker containers.
EXPOSE 80 443

WORKDIR /opt/certbot/src

COPY . .
RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install apache2 git python3-dev \
        python3-venv gcc libaugeas0 libssl-dev libffi-dev ca-certificates \
        openssl nginx-light -y --no-install-recommends && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* \
           /tmp/* \
           /var/tmp/*

RUN VENV_NAME="../venv" python3 tools/venv.py

ENV PATH /opt/certbot/venv/bin:$PATH