Merge branch 'develop' into 'main'
Some checks failed
Build podman-dind-like / build-and-push (GITHUB_TOKEN, HOME_NEXUS_DOCKER_PASSWORD, NEXUS_DOCKER_USER, ghcr.io, $NEXUS_PROXY_REGISTRY, GITHUB_DOCKER_USER) (push) Has been cancelled
Build podman-dind-like / build-and-push (HOME_NEXUS_DOCKER_PASSWORD, HOME_NEXUS_DOCKER_PASSWORD, NEXUS_DOCKER_USER, nexus.jamesjonesconsulting.com:5443, $NEXUS_PROXY_REGISTRY, NEXUS_DOCKER_USER) (push) Has been cancelled

Adding on additional repo and proxy repos to Nexus

See merge request ymdllc/containers/podman-dind-like!14
This commit is contained in:
James Jones
2024-02-04 20:20:16 +00:00

View File

@@ -1,14 +1,25 @@
ARG ARTIFACTORY ARG ARTIFACTORY
FROM ${ARTIFACTORY}/podman/stable:latest FROM ${ARTIFACTORY}/podman/stable:latest
RUN dnf install -y --nogpgcheck \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm && \
dnf groupupdate core -y
# Adding on the docker alias, docker-compose and other useful stuff including the Azure CLI and RPM build tools along with FPM # Adding on the docker alias, docker-compose and other useful stuff including the Azure CLI and RPM build tools along with FPM
# docker-compose - broken dependencies in F38 so removing # docker-compose - broken dependencies in F38 so removing
RUN dnf install -y podman-docker buildah skopeo \ RUN dnf install -y podman-docker buildah skopeo \
util-linux ansible-core openssh-clients krb5-devel krb5-libs krb5-workstation git jq wget curl unzip coreutils \ util-linux ansible-core openssh-clients krb5-devel krb5-libs krb5-workstation git jq wget curl unzip coreutils \
helm doctl kubernetes-client gnupg2 pinentry expect gh awscli \ helm doctl kubernetes-client gnupg2 pinentry expect gh awscli \
python3-jsonpatch python3-requests-oauthlib python3-kubernetes python3-pip \ python3-jsonpatch python3-requests-oauthlib python3-kubernetes python3-pip \
&& curl -k -s -o - \
https://nexus.jamesjonesconsulting.com/repository/package-config/dist/proxy/rpmfusion/rpmfusion-setup-proxy-repos.sh |\
bash \
&& rpm --import https://packages.microsoft.com/keys/microsoft.asc \ && rpm --import https://packages.microsoft.com/keys/microsoft.asc \
&& dnf install -y https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm \ && dnf install -y https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm \
&& curl -k -s -o - \
https://nexus.jamesjonesconsulting.com/repository/package-config/dist/proxy/microsoft/microsoft-setup-yum-proxy-repos.sh |\
bash \
&& dnf install -y azure-cli \ && dnf install -y azure-cli \
&& dnf install -y rpm-build rpm-sign rubygems ruby-devel gcc gcc-c++ make libffi-devel \ && dnf install -y rpm-build rpm-sign rubygems ruby-devel gcc gcc-c++ make libffi-devel \
&& dnf install -y ansible-collection* \ && dnf install -y ansible-collection* \