2020-07-30 12:56:42 +02:00
|
|
|
FROM python:3.8.5-slim
|
|
|
|
|
|
|
|
ENV HELM_EXPERIMENTAL_OCI=1
|
|
|
|
ENV REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
|
|
|
|
|
|
|
|
COPY ./migrate_chart.py ./migrate_chart.sh /
|
2023-05-17 04:03:23 +02:00
|
|
|
ADD https://get.helm.sh/helm-v3.9.1-linux-amd64.tar.gz /
|
2020-07-30 12:56:42 +02:00
|
|
|
|
2023-05-17 04:03:23 +02:00
|
|
|
RUN tar zxvf /helm-v3.9.1-linux-amd64.tar.gz && \
|
2020-07-30 12:56:42 +02:00
|
|
|
pip install click==7.1.2 && \
|
|
|
|
pip install requests==2.24.0 && \
|
2024-03-05 19:51:38 +01:00
|
|
|
pip install pyyaml && \
|
2020-07-30 12:56:42 +02:00
|
|
|
chmod +x /migrate_chart.sh ./migrate_chart.py
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/migrate_chart.py" ]
|