mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-26 00:06:00 -04:00
fixed the docker build process by installing pip manually
This commit is contained in:
parent
f4ebf4a2d5
commit
4c60aed563
2 changed files with 12 additions and 3 deletions
|
@ -14,8 +14,13 @@ COPY ./ /havocsrc
|
||||||
|
|
||||||
#Fetch dependencies from APT
|
#Fetch dependencies from APT
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y tar wget dfu-util cmake python python-pip && \
|
apt-get install -y tar wget dfu-util cmake python curl && \
|
||||||
apt-get -qy autoremove
|
apt-get -qy autoremove
|
||||||
|
|
||||||
|
#Install pip from PyPa
|
||||||
|
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
|
||||||
|
python get-pip.py
|
||||||
|
|
||||||
#Fetch additional dependencies from Python 2.x pip
|
#Fetch additional dependencies from Python 2.x pip
|
||||||
RUN pip install pyyaml
|
RUN pip install pyyaml
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,13 @@ WORKDIR /havoc/firmware
|
||||||
|
|
||||||
# Fetch dependencies from APT
|
# Fetch dependencies from APT
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y git tar wget dfu-util cmake python3 python-pip ccache && \
|
apt-get install -y git tar wget dfu-util cmake python3 ccache curl && \
|
||||||
apt-get -qy autoremove
|
apt-get -qy autoremove
|
||||||
|
|
||||||
|
#Install pip from PyPa
|
||||||
|
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
|
||||||
|
python get-pip.py
|
||||||
|
|
||||||
RUN pip install pyyaml
|
RUN pip install pyyaml
|
||||||
|
|
||||||
# Grab the GNU ARM toolchain from arm.com
|
# Grab the GNU ARM toolchain from arm.com
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue