mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-20 02:30:26 +08:00
Sat Mar 18 18:19:18 CST 2023 test by bot.
This commit is contained in:
parent
cc58de6677
commit
961659cb10
@ -4,7 +4,7 @@ LABEL maintainer=admin@licsber.site
|
|||||||
# https://github.com/friendlyarm/Actions-FriendlyWrt/blob/master/.github/workflows/build.yml
|
# https://github.com/friendlyarm/Actions-FriendlyWrt/blob/master/.github/workflows/build.yml
|
||||||
RUN echo $(nproc) && \
|
RUN echo $(nproc) && \
|
||||||
apt update > /dev/null && \
|
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 && \
|
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/^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 && \
|
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 && \
|
update-alternatives --install $(which python) python /usr/bin/python2.7 20 && \
|
||||||
git clone https://github.com/friendlyarm/repo && \
|
git clone https://github.com/friendlyarm/repo && \
|
||||||
cp repo/repo /usr/bin/ && \
|
cp repo/repo /usr/bin/ && \
|
||||||
apt install -y -qq clang-12 llvm-12 > /dev/null && \
|
|
||||||
apt clean && \
|
apt clean && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
rm -rf /usr/share/dotnet /usr/local/lib/android/sdk /usr/local/share/boost /opt/ghc
|
rm -rf /usr/share/dotnet /usr/local/lib/android/sdk /usr/local/share/boost /opt/ghc
|
||||||
|
Loading…
Reference in New Issue
Block a user