Move python install in the docker file

This commit is contained in:
Chris Cinelli 2019-10-24 00:18:33 -07:00 committed by Conor Patrick
parent 6f6e831fba
commit 30f73b41e4
2 changed files with 1 additions and 4 deletions

View File

@ -29,5 +29,4 @@ RUN ln -s /opt/conda/bin/python /usr/local/bin/python
RUN ln -s /opt/conda/bin/pip /usr/local/bin/pip3
RUN ln -s /opt/conda/bin/pip /usr/local/bin/pip
# 3. Source code
RUN git clone --recurse-submodules https://github.com/solokeys/solo /solo --config core.autocrlf=input
RUN pip install -U pip && pip install -U solo-python

View File

@ -40,8 +40,6 @@ build firmware hacker-debug-2 solo
build firmware secure solo
build firmware secure-non-solokeys solo
pip install -U pip
pip install -U solo-python
cd ${out_dir}
bundle="bundle-hacker-${version}"
/opt/conda/bin/solo mergehex bootloader-nonverifying-${version}.hex firmware-hacker-${version}.hex ${bundle}.hex