File tree 5 files changed +13
-6
lines changed
5 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ sudo apt-get install libtool-bin
8
8
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
9
9
cd esp-open-sdk
10
10
git checkout 03f5e898a059451ec5f3de30e7feff30455f7cec
11
- LD_LIBRARY_PATH= " " make STANDALONE=y
12
-
11
+ cp ../python2_make.py .
12
+ python2 python2_make.py ' LD_LIBRARY_PATH="" make STANDALONE=y '
Original file line number Diff line number Diff line change 2
2
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
3
3
cd esp-open-sdk
4
4
git checkout 03f5e898a059451ec5f3de30e7feff30455f7cec
5
- LD_LIBRARY_PATH=" " make STANDALONE=y
5
+ cp ../python2_make.py .
6
+ python2 python2_make.py ' LD_LIBRARY_PATH="" make STANDALONE=y'
Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ git checkout 03f5e898a059451ec5f3de30e7feff30455f7cec
28
28
git submodule init
29
29
git submodule update --recursive
30
30
31
- make STANDALONE=y
32
-
31
+ cp ../python2_make.py .
32
+ python2 python2_make.py ' make STANDALONE=y '
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python2
2
+ import os
3
+ import sys
4
+ os .system (sys .argv [1 ])
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ ENV LC_ALL en_US.UTF-8
10
10
RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
11
11
12
12
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
13
+ RUN pyenv install 2.7.12
13
14
RUN pyenv install 3.7.3
14
15
RUN pyenv global 3.7.3
15
16
RUN pyenv rehash
@@ -22,7 +23,8 @@ WORKDIR /panda/boardesp
22
23
RUN git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
23
24
WORKDIR /panda/boardesp/esp-open-sdk
24
25
RUN git checkout 03f5e898a059451ec5f3de30e7feff30455f7ce
25
- RUN CT_ALLOW_BUILD_AS_ROOT_SURE=1 make STANDALONE=y
26
+ COPY ./boardesp/python2_make.py /panda/boardesp/esp-open-sdk
27
+ RUN python2 python2_make.py "CT_ALLOW_BUILD_AS_ROOT_SURE=1 make STANDALONE=y"
26
28
27
29
COPY . /panda
28
30
You can’t perform that action at this time.
0 commit comments