Escapingbug / ancypwn

Script to setup pwn environment for CTF with Docker
MIT License
148 stars 27 forks source link

resolve pip upgrade error after pip fixed it! #1

Closed Escapingbug closed 6 years ago

Escapingbug commented 6 years ago

https://github.com/pypa/pip/issues/5599

CCbird commented 6 years ago

Fix the pip update:

RUN pip install -U pip RUN echo 'from pip import main' > /usr/bin/pip RUN echo 'if name == 'main':' >> /usr/bin/pip RUN echo ' sys.exit(main._main())' >> /usr/bin/pip

Escapingbug commented 6 years ago

Can you give me a pull request on how to fix that exactly? Alghough im not sure this is permanent fix.. Or can you adjust the docker file to remove the update part and test it for me? I'm right now a little bit busy on this one, and my network is too slow to test..

Escapingbug commented 6 years ago

@CCbird