You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM centos:7
RUN yum install -y tar wget rpm which centos-release-scl
RUN yum install -y rh-ruby23 rh-ruby23-ruby-devel gcc make rpm-build rubygems
RUN scl enable rh-ruby23 'gem install fpm'
COPY gsiam.py gsiam.conf VERSION make_rpm.sh /
make_rpm.sh
#!/bin/bash
set -euo pipefail
source VERSION
scl enable rh-ruby23 "fpm -s dir -t rpm -n ${NAME} --version ${VERSION} -p ${NAME}-${VERSION}.rpm \
gsiam.py=/usr/lib/yum-plugins/gsiam.py \
gsiam.conf=/etc/yum/pluginconf.d/gsiam.conf"
Just cloned and ran the
make_rpm_docker.sh
script. It gave the following errorIt had more errors afterwards because of this failure (while trying to copy the missing rpm out)
Might be worth adding
set -euo pipefail
to the bash scripts on the second lineThe text was updated successfully, but these errors were encountered: