ContainersWorkspace/cloud-toolbox/Containerfile
Maciej Lebiest d451a31f1d
All checks were successful
Build images / build-images-arm64 (push) Successful in 15m7s
Build images / build-images-amd64 (push) Successful in 15m25s
Build images / update-images-manifests (push) Successful in 31s
cloud-toolbox: cleaning, add helmfile binary
2024-05-05 21:13:04 +02:00

25 lines
751 B
Docker

FROM ghcr.io/helmfile/helmfile:canary as helmfile
# ----
FROM forgejo.maciej.cloud/pkg/mc-fedora-base
# for helm install script
ENV VERIFY_CHECKSUM="false"
ENV PKGS_BASE="git python3-pip rclone rsync kubernetes-client"
ENV PKGS_TEMP="python3-devel gcc wget tar"
COPY --from=helmfile /usr/local/bin/helmfile /usr/local/bin/helmfile
RUN dnf5 install -y ${PKGS_BASE} ${PKGS_TEMP} && \
pip3 install python-openstackclient python-swiftclient python-heatclient python-designateclient && \
curl -o /dev/stdout https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash - && \
dnf5 remove -y ${PKGS_TEMP} && \
dnf5 -y autoremove && \
dnf5 -y clean all && \
mkdir /data
WORKDIR /data
ENTRYPOINT [ "/bin/bash" ]