From c2723821eba9c79e52dd3165b19404e81298f2f8 Mon Sep 17 00:00:00 2001 From: James Jones Date: Sat, 10 Feb 2024 11:29:05 +0000 Subject: [PATCH 1/2] Added perl-Test-Harness for running tests with 'prove' --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9001421..7b3921b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +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 install -y cpanminus perl-Mojolicious perl-Test-Mojo perl-Test-Harness 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 \ From 201d5a521e312594e3f21b7be0c3b6e846addce7 Mon Sep 17 00:00:00 2001 From: James Jones Date: Sat, 10 Feb 2024 12:19:09 +0000 Subject: [PATCH 2/2] Adding on the CPAN mirror settings for Carton and cpanminus --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7b3921b..9d30e96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,4 +51,8 @@ RUN gem install ffi \ # Setting up Pypi to use proxy RUN curl -k -s -o - \ https://nexus.jamesjonesconsulting.com/repository/package-config/pypi/python3-pypi-repos.sh |\ - bash \ No newline at end of file + bash + +# Adding on the CPAN mirror settings for Carton and cpanminus +ENV PERL_CPANM_OPT="--mirror https://nexus.jamesjonesconsulting.com/repository/cpan-proxy/" \ + PERL_CARTON_MIRROR=https://nexus.jamesjonesconsulting.com/repository/cpan-proxy/ \ No newline at end of file