python-nss was fixed to work with wheel
This work around is no longer needed Change-Id: Ifff9f3be35e14d87b49a7cbb5a794bd90c8981dd
This commit is contained in:
parent
d2f4cbf345
commit
d05002b02d
@ -49,14 +49,6 @@ RUN set -x \
|
||||
&& python -m virtualenv /builder \
|
||||
&& pip install -U pip \
|
||||
&& pip install -U wheel setuptools \
|
||||
# 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 \
|
||||
&& mkdir /tmp/python-nss \
|
||||
&& tar xf /tmp/python-nss-*.tar.bz2 -C /tmp/python-nss --strip-components=1 \
|
||||
&& sed -i "s/if arg in ('-d', '--debug'):/if arg == '--debug':/g" /tmp/python-nss/setup.py \
|
||||
&& pip wheel -w /root/packages/ $(grep dogtag-pki /root/packages/upper-constraints.txt) /tmp/python-nss/ \
|
||||
# NOTE(SamYaple): end bug workaround
|
||||
&& pip wheel -w /root/packages/ -r /root/packages/global-requirements.txt -c /root/packages/upper-constraints.txt \
|
||||
uwsgi \
|
||||
&& yum history -y undo 4 5 \
|
||||
|
8
debian/Dockerfile
vendored
8
debian/Dockerfile
vendored
@ -43,14 +43,6 @@ RUN set -x \
|
||||
&& python -m virtualenv /builder \
|
||||
&& pip install -U pip \
|
||||
&& pip install -U wheel setuptools \
|
||||
# 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 \
|
||||
&& mkdir /tmp/python-nss \
|
||||
&& tar xf /tmp/python-nss-*.tar.bz2 -C /tmp/python-nss --strip-components=1 \
|
||||
&& sed -i "s/if arg in ('-d', '--debug'):/if arg == '--debug':/g" /tmp/python-nss/setup.py \
|
||||
&& pip wheel -w /root/packages/ $(grep dogtag-pki /root/packages/upper-constraints.txt) /tmp/python-nss/ \
|
||||
# NOTE(SamYaple): end bug workaround
|
||||
&& pip wheel -w /root/packages/ -r /root/packages/global-requirements.txt -c /root/packages/upper-constraints.txt \
|
||||
uwsgi \
|
||||
&& apt-get purge -y --auto-remove \
|
||||
|
@ -43,14 +43,6 @@ RUN set -x \
|
||||
&& python -m virtualenv /builder \
|
||||
&& pip install -U pip \
|
||||
&& pip install -U wheel setuptools \
|
||||
# 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 \
|
||||
&& mkdir /tmp/python-nss \
|
||||
&& tar xf /tmp/python-nss-*.tar.bz2 -C /tmp/python-nss --strip-components=1 \
|
||||
&& sed -i "s/if arg in ('-d', '--debug'):/if arg == '--debug':/g" /tmp/python-nss/setup.py \
|
||||
&& pip wheel -w /root/packages/ $(grep dogtag-pki /root/packages/upper-constraints.txt) /tmp/python-nss/ \
|
||||
# NOTE(SamYaple): end bug workaround
|
||||
&& pip wheel -w /root/packages/ -r /root/packages/global-requirements.txt -c /root/packages/upper-constraints.txt \
|
||||
uwsgi \
|
||||
&& apt-get purge -y --auto-remove \
|
||||
|
Loading…
Reference in New Issue
Block a user