Switch to github for file source

GitHub needs to be up anyway for DockerHub to automate builds.
This commit is contained in:
Sam Yaple 2017-01-09 17:14:55 +00:00
parent 208210d297
commit c749546b24
2 changed files with 4 additions and 4 deletions

4
debian/Dockerfile vendored
View File

@ -29,8 +29,8 @@ RUN set -x \
&& python get-pip.py \
&& rm get-pip.py \
&& mkdir /root/packages \
&& curl https://git.openstack.org/cgit/openstack/requirements/plain/global-requirements.txt > /root/packages/global-requirements.txt \
&& curl https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt > /root/packages/upper-constraints.txt \
&& curl https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt > /root/packages/global-requirements.txt \
&& curl https://raw.githubusercontent.com/openstack/requirements/master/upper-constraints.txt > /root/packages/upper-constraints.txt \
# NOTE(SamYaple): There is a bug with python-nss, this is a workaround. https://bugzilla.redhat.com/show_bug.cgi?id=1389739
&& sed -i '/dogtag-pki/d' /root/packages/global-requirements.txt \
&& pip download -d /tmp -c /root/packages/upper-constraints.txt python-nss \

View File

@ -27,8 +27,8 @@ RUN set -x \
&& python get-pip.py \
&& rm get-pip.py \
&& mkdir /root/packages \
&& curl https://git.openstack.org/cgit/openstack/requirements/plain/global-requirements.txt > /root/packages/global-requirements.txt \
&& curl https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt > /root/packages/upper-constraints.txt \
&& curl https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt > /root/packages/global-requirements.txt \
&& curl https://raw.githubusercontent.com/openstack/requirements/master/upper-constraints.txt > /root/packages/upper-constraints.txt \
# NOTE(SamYaple): There is a bug with python-nss, this is a workaround. https://bugzilla.redhat.com/show_bug.cgi?id=1389739
&& sed -i '/dogtag-pki/d' /root/packages/global-requirements.txt \
&& pip download -d /tmp -c /root/packages/upper-constraints.txt python-nss \