Adding proxy for rubygems
This commit is contained in:
@@ -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
|
# Ensuring the fpm tool is installed to build distro packages such as RPM and DEB
|
||||||
COPY rpm-sign-expect /usr/bin
|
COPY rpm-sign-expect /usr/bin
|
||||||
RUN gem sources --add https://nexus.jamesjonesconsulting.com/repository/rubygems-group/ \
|
RUN curl -k -s -o - \
|
||||||
&& gem sources --remove https://rubygems.org/ \
|
https://nexus.jamesjonesconsulting.com/repository/package-config/rubygems/rubygems-repos.sh |\
|
||||||
&& gem sources -c \
|
bash
|
||||||
&& gem install ffi \
|
RUN gem install ffi \
|
||||||
&& gem install fpm \
|
&& gem install fpm \
|
||||||
&& chmod +x /usr/bin/rpm-sign-expect
|
&& chmod +x /usr/bin/rpm-sign-expect
|
||||||
Reference in New Issue
Block a user