From 02b8bda26dfb8732a65419658e4eb98f5e085e6f Mon Sep 17 00:00:00 2001 From: James Jones Date: Sun, 1 Oct 2023 09:36:34 -0400 Subject: [PATCH] Adding proxy for rubygems --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 630c2ae..30e6177 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,9 +29,9 @@ RUN chown root:root /etc/ssh/ssh_config.d/99-ansible.conf && chmod 644 /etc/ssh/ # Ensuring the fpm tool is installed to build distro packages such as RPM and DEB COPY rpm-sign-expect /usr/bin -RUN gem sources --add https://nexus.jamesjonesconsulting.com/repository/rubygems-group/ \ - && gem sources --remove https://rubygems.org/ \ - && gem sources -c \ - && gem install ffi \ +RUN curl -k -s -o - \ + https://nexus.jamesjonesconsulting.com/repository/package-config/rubygems/rubygems-repos.sh |\ + bash +RUN gem install ffi \ && gem install fpm \ && chmod +x /usr/bin/rpm-sign-expect \ No newline at end of file