This repository has been archived on 2025-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
traefik-certmanager/Dockerfile

19 lines
465 B
Text
Raw Permalink Normal View History

2022-10-09 23:18:29 +02:00
FROM python:alpine
ENV PYTHONUNBUFFERED=1 \
ISSUER_NAME=letsencrypt \
ISSUER_KIND=ClusterIssuer \
2023-11-22 06:33:00 +01:00
CERT_CLEANUP=false \
PATCH_SECRETNAME=true
2022-10-09 23:18:29 +02:00
# As the k8s Python client does not yet support k8s 1.32, the updated client has been temporarily moved to the repo.
# So the installation is currently not needed.
# RUN pip install kubernetes
2022-10-09 23:18:29 +02:00
COPY main.py /
COPY kubernetes /kubernetes
RUN pip install -r /kubernetes/requirements.txt
CMD python main.py