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

Commit

Permalink
Fix python2.7 paths due to Py2.7 EOL (#723)
Browse files Browse the repository at this point in the history
* Fix python2.7 paths due to Py2.7 EOL
  • Loading branch information
artemdinaburg authored Jan 26, 2021
1 parent 372a3fc commit bc4d47f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ARG UBUNTU_VERSION
ARG LIBRARIES
RUN apt-get update && \
apt-get install -qqy --no-install-recommends python2.7 zlib1g curl ca-certificates && \
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py && python2.7 get-pip.py && \
curl https://bootstrap.pypa.io/2.7/get-pip.py --output get-pip.py && python2.7 get-pip.py && \
update-alternatives --install /usr/bin/python2 python2 /usr/bin/python2.7 1 && \
if [ "${UBUNTU_VERSION}" = "18.04" ] ; then \
apt-get install -qqy --no-install-recommends libtinfo5 ; \
Expand All @@ -43,7 +43,7 @@ RUN apt-get update && \
pip3 install ccsyspath

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

COPY --from=anvill /opt/trailofbits/remill /opt/trailofbits/remill
Expand Down

0 comments on commit bc4d47f

Please sign in to comment.