mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-19 02:18:48 +08:00
Sat Mar 18 17:59:30 CST 2023 test by bot.
This commit is contained in:
parent
9b420648cb
commit
6b7b85122c
@ -14,7 +14,7 @@ RUN echo $(nproc) && \
|
||||
update-alternatives --install $(which python) python /usr/bin/python2.7 20 && \
|
||||
git clone https://github.com/friendlyarm/repo && \
|
||||
cp repo/repo /usr/bin/ && \
|
||||
mkdir -p ./artifact && \
|
||||
apt install -y -qq clang-12 llvm-12 > /dev/null && \
|
||||
apt clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /usr/share/dotnet /usr/local/lib/android/sdk /usr/local/share/boost /opt/ghc
|
||||
@ -49,6 +49,8 @@ RUN git clone --depth=1 https://github.com/licsber/RockchipScripts.git && \
|
||||
DEBUG_DOT_CONFIG=1 ./build.sh friendlywrt
|
||||
|
||||
RUN cd friendlywrt && \
|
||||
mkdir -p staging_dir/host/llvm-bpf/bin/ && \
|
||||
ln -s /usr/bin/clang-12 staging_dir/host/llvm-bpf/bin/clang && \
|
||||
make download -j8 || make -j1 V=s && \
|
||||
find dl -size -1024c -exec ls -l {} \; && \
|
||||
find dl -size -1024c -exec rm -f {} \;
|
||||
|
Loading…
Reference in New Issue
Block a user