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: 9e35ebec840834e22d1de32b6d43fe628fb3a1fb (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:xenial

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

WORKDIR /opt/certbot/src

# TODO: Install Apache/Nginx for plugin development.
COPY . .
RUN apt-get update && \
    apt-get install apache2 git nginx-light -y && \
    letsencrypt-auto-source/letsencrypt-auto --os-packages-only && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* \
           /tmp/* \
           /var/tmp/*

RUN VENV_NAME="../venv" tools/venv.sh

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