mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-09-25 10:48:31 +02:00
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:
parent
07ae6acc8e
commit
51fdde6806
@ -59,7 +59,7 @@ RUN chown -R root:metasploit $APP_HOME/
|
|||||||
RUN chmod 664 $APP_HOME/Gemfile.lock
|
RUN chmod 664 $APP_HOME/Gemfile.lock
|
||||||
RUN gem update --system
|
RUN gem update --system
|
||||||
RUN cp -f $APP_HOME/docker/database.yml $APP_HOME/config/database.yml
|
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
|
RUN pip install impacket
|
||||||
|
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
|
Loading…
Reference in New Issue
Block a user