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: ae197b1cb137cc092df188b494797c92af8fe2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This Dockerfile builds an image for development.
FROM debian:buster

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

WORKDIR /opt/certbot/src

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

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

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