download version of get-pip supporting python2

As of Jan 30, the latest version of get-pip provides
pip 21.0+ and no longer supports python2 syntax.  By
pulling down the locked version directly from github
instead of latest from pypi the requirement to only
support python3 is deferred.
This commit is contained in:
Jeffrey Martin 2021-01-25 09:55:54 -06:00
parent 07ae6acc8e
commit 51fdde6806
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ RUN chown -R root:metasploit $APP_HOME/
RUN chmod 664 $APP_HOME/Gemfile.lock
RUN gem update --system
RUN cp -f $APP_HOME/docker/database.yml $APP_HOME/config/database.yml
RUN curl -O https://bootstrap.pypa.io/get-pip.py && python get-pip.py && rm get-pip.py
RUN curl -L -O https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11/get-pip.py && python get-pip.py && rm get-pip.py
RUN pip install impacket
WORKDIR $APP_HOME