Skip to content
Snippets Groups Projects
Unverified Commit 619fa009 authored by Erwin Ried's avatar Erwin Ried Committed by GitHub
Browse files

Merge pull request #32 from ydixken/master

python-pip not available in repositories
parents f4ebf4a2 9f0b8852
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,13 @@ COPY ./ /havocsrc
#Fetch dependencies from APT
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
#Install current 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
RUN pip install pyyaml
......
......@@ -11,9 +11,14 @@ WORKDIR /havoc/firmware
# Fetch dependencies from APT
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
#Install current pip from PyPa
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python3 get-pip.py
#Fetch additional dependencies from Python 3.x pip
RUN pip install pyyaml
# Grab the GNU ARM toolchain from arm.com
......@@ -28,4 +33,4 @@ RUN mkdir ~/bin && cd ~/bin && \
for tool in gcc g++ cpp c++;do ln -s $(which ccache) arm-none-eabi-$tool;done
CMD cd .. && cd build && \
cmake .. && make firmware
\ No newline at end of file
cmake .. && make firmware
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment