mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-10 20:50:29 +01:00
4f5c3568bc
chartmuseum might deprecated in future. This tool is used for migrate the charts Signed-off-by: DQ <dengq@vmware.com>
14 lines
421 B
Docker
14 lines
421 B
Docker
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 /
|
|
ADD https://get.helm.sh/helm-v3.2.4-linux-amd64.tar.gz /
|
|
|
|
RUN tar zxvf /helm-v3.2.4-linux-amd64.tar.gz && \
|
|
pip install click==7.1.2 && \
|
|
pip install requests==2.24.0 && \
|
|
chmod +x /migrate_chart.sh ./migrate_chart.py
|
|
|
|
ENTRYPOINT [ "/migrate_chart.py" ] |