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
Tom Neuber 9129813244
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
fix(kubernetes): temporary solution for updated k8s python client
2025-01-05 00:33:58 +01:00

18 lines
465 B
Docker

FROM python:alpine
ENV PYTHONUNBUFFERED=1 \
ISSUER_NAME=letsencrypt \
ISSUER_KIND=ClusterIssuer \
CERT_CLEANUP=false \
PATCH_SECRETNAME=true
# 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
COPY main.py /
COPY kubernetes /kubernetes
RUN pip install -r /kubernetes/requirements.txt
CMD python main.py