Sat Mar 18 18:19:18 CST 2023 test by bot.

This commit is contained in:
licsber 2023-03-18 18:19:18 +08:00
parent cc58de6677
commit 961659cb10

View File

@ -4,7 +4,7 @@ LABEL maintainer=admin@licsber.site
# https://github.com/friendlyarm/Actions-FriendlyWrt/blob/master/.github/workflows/build.yml
RUN echo $(nproc) && \
apt update > /dev/null && \
apt install -y -qq wget git > /dev/null && \
apt install -y -qq wget git clang-12 llvm-12 > /dev/null && \
wget https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh && \
sed -i -e 's/^apt-get -y install openjdk-8-jdk/# apt-get -y install openjdk-8-jdk/g' install.sh && \
sed -i -e 's/^\[ -d fa-toolchain \]/# [ -d fa-toolchain ]/g' install.sh && \
@ -14,7 +14,6 @@ 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/ && \
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