mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
fixes https://github.com/certbot/certbot/issues/10035. you can compare this to the PR that did this for python 3.7 at https://github.com/certbot/certbot/pull/9792 i agree with erica's comment at https://github.com/certbot/certbot/issues/10035#issuecomment-2452212686, but felt this PR was already getting pretty large so i did that in a second PR at https://github.com/certbot/certbot/pull/10076
23 lines
889 B
Docker
23 lines
889 B
Docker
FROM docker.io/python:3.11-buster
|
|
LABEL maintainer="Brad Warren <bmw@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 libaugeas0 -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/certbot_compatibility_test/testdata
|