mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-20 02:30:26 +08:00
MikeWang000000 patch (#3)
* remove unnecessary sudo --------- Co-authored-by: Mike Wang <mikewang000000@gmail.com> Co-authored-by: licsber <admin@licsber.site>
This commit is contained in:
parent
17203c5ac9
commit
4383bb816d
@ -4,12 +4,13 @@ LABEL maintainer=admin@licsber.site
|
|||||||
ENV FORCE_UNSAFE_CONFIGURE=1
|
ENV FORCE_UNSAFE_CONFIGURE=1
|
||||||
|
|
||||||
# https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
|
# https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
|
||||||
RUN echo $(nproc) && sudo apt update && \
|
RUN echo $(nproc) && \
|
||||||
sudo apt install -y build-essential clang flex bison g++ gawk gcc-multilib g++-multilib \
|
apt update && \
|
||||||
|
apt install -y build-essential clang flex bison g++ gawk gcc-multilib g++-multilib \
|
||||||
gettext git libncurses5-dev libssl-dev python3-distutils rsync unzip \
|
gettext git libncurses5-dev libssl-dev python3-distutils rsync unzip \
|
||||||
zlib1g-dev file wget && \
|
zlib1g-dev file wget && \
|
||||||
sudo apt clean && \
|
apt clean && \
|
||||||
sudo rm -rf /var/lib/apt/list/*
|
rm -rf /var/lib/apt/list/*
|
||||||
|
|
||||||
WORKDIR /licsber
|
WORKDIR /licsber
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user