From 1744bb4d503aa1fd9a90c7eb8d8caf616fc6ffe5 Mon Sep 17 00:00:00 2001 From: James Jones Date: Sun, 4 Feb 2024 20:20:16 +0000 Subject: [PATCH 1/2] Adding on additional repo and proxy repos to Nexus --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Dockerfile b/Dockerfile index 90b6ee8..efa0472 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,25 @@ ARG ARTIFACTORY 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 # docker-compose - broken dependencies in F38 so removing 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 \ helm doctl kubernetes-client gnupg2 pinentry expect gh awscli \ 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 \ && 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 rpm-build rpm-sign rubygems ruby-devel gcc gcc-c++ make libffi-devel \ && dnf install -y ansible-collection* \ From 5a0d504f5d4001ecb9d5c476b171cfcac9d90f09 Mon Sep 17 00:00:00 2001 From: James Jones Date: Sun, 4 Feb 2024 22:10:14 +0000 Subject: [PATCH 2/2] Adding on some Mojolicious support --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index efa0472..9001421 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ RUN dnf install -y podman-docker buildah skopeo \ && dnf install -y azure-cli \ && dnf install -y rpm-build rpm-sign rubygems ruby-devel gcc gcc-c++ make libffi-devel \ && dnf install -y ansible-collection* \ + && dnf install -y cpanminus perl-Mojolicious perl-Carton \ && dnf clean all \ && rm -rf /var/cache/yum \ && wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq \