cloud-toolbox: remove oc, add openstack dns zones tool, migrating to fedora-minimal
All checks were successful
Build images / build-images-amd64 (push) Successful in 6m52s
Build images / build-images-arm64 (push) Successful in 9m25s
Build images / update-images-manifests (push) Successful in 23s

This commit is contained in:
Maciej Lebiest 2024-03-14 15:27:14 +01:00
parent 5e1e39d123
commit dd0f0f8029
2 changed files with 10 additions and 17 deletions

View file

@ -1,4 +1,4 @@
FROM registry.fedoraproject.org/fedora:39
FROM registry.fedoraproject.org/fedora-minimal:39
USER root
@ -10,20 +10,14 @@ ENV HISTFILESIZE=20000
ENV VERIFY_CHECKSUM="false"
ENV PKGS_BASE="fzf git python3-pip rclone rsync bash-completion kubernetes-client golang-sigs-k8s-kustomize"
ENV PKGS_TEMP="python3-devel gcc wget"
ENV PKGS_TEMP="python3-devel gcc wget tar"
RUN dnf clean all && \
dnf install -y ${PKGS_BASE} ${PKGS_TEMP} && \
pip3 install python-openstackclient python-swiftclient python-heatclient && \
wget https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz && \
tar -xvf openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz && \
chmod +x openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/* && \
mv openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/oc /usr/bin/ && \
rm -rf openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit* && \
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 - && \
dnf remove -y ${PKGS_TEMP} && \
dnf -y autoremove && \
dnf -y clean all && \
dnf5 remove -y ${PKGS_TEMP} && \
dnf5 -y autoremove && \
dnf5 -y clean all && \
mkdir /data
WORKDIR /data

View file

@ -1,8 +1,7 @@
FROM registry.fedoraproject.org/fedora:rawhide
FROM registry.fedoraproject.org/fedora-minimal:rawhide
RUN dnf clean all && \
dnf install -y tor nyx util-linux && \
dnf clean all
RUN dnf5 install -y tor nyx util-linux && \
dnf5 clean all
COPY torrc.conf /torrc