Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit bc4d47f

Browse files
Fix python2.7 paths due to Py2.7 EOL (#723)
* Fix python2.7 paths due to Py2.7 EOL
1 parent 372a3fc commit bc4d47f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ARG UBUNTU_VERSION
1919
ARG LIBRARIES
2020
RUN apt-get update && \
2121
apt-get install -qqy --no-install-recommends python2.7 zlib1g curl ca-certificates && \
22-
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py && python2.7 get-pip.py && \
22+
curl https://bootstrap.pypa.io/2.7/get-pip.py --output get-pip.py && python2.7 get-pip.py && \
2323
update-alternatives --install /usr/bin/python2 python2 /usr/bin/python2.7 1 && \
2424
if [ "${UBUNTU_VERSION}" = "18.04" ] ; then \
2525
apt-get install -qqy --no-install-recommends libtinfo5 ; \
@@ -43,7 +43,7 @@ RUN apt-get update && \
4343
pip3 install ccsyspath
4444

4545
# needed for 20.04 support until we migrate to py3
46-
RUN curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py && python2.7 get-pip.py
46+
RUN curl https://bootstrap.pypa.io/2.7/get-pip.py --output get-pip.py && python2.7 get-pip.py
4747
RUN update-alternatives --install /usr/bin/python2 python2 /usr/bin/python2.7 1
4848

4949
COPY --from=anvill /opt/trailofbits/remill /opt/trailofbits/remill

0 commit comments

Comments
 (0)