File: Dockerfile

package info (click to toggle)
python-certbot 5.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,660 kB
  • sloc: python: 44,312; sh: 2,380; makefile: 480
file content (23 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM docker.io/python:3.13-bookworm
LABEL org.opencontainers.image.authors="certbot-dev@eff.org"

# This does not include the dependencies needed to build cryptography. See
# https://cryptography.io/en/latest/installation/#building-cryptography-on-linux
RUN apt-get update && \
    apt install python3-venv libaugeas-dev -y

WORKDIR /opt/certbot/src

# We copy all contents of the build directory to allow us to easily use
# things like tools/venv.py which expects all of our packages to be available.
COPY . .

RUN tools/venv.py
ENV PATH=/opt/certbot/src/venv/bin:$PATH

# install in editable mode (-e) to save space: it's not possible to
# "rm -rf /opt/certbot/src" (it's stays in the underlying image);
# this might also help in debugging: you can "docker run --entrypoint
# bash" and investigate, apply patches, etc.

WORKDIR /opt/certbot/src/certbot-compatibility-test/src/certbot_compatibility_test/testdata