mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-20 02:30:26 +08:00
Jiale Liu
4383bb816d
* remove unnecessary sudo --------- Co-authored-by: Mike Wang <mikewang000000@gmail.com> Co-authored-by: licsber <admin@licsber.site>
22 lines
762 B
Docker
22 lines
762 B
Docker
FROM ubuntu:jammy-20230308
|
|
LABEL maintainer=admin@licsber.site
|
|
|
|
ENV FORCE_UNSAFE_CONFIGURE=1
|
|
|
|
# https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
|
|
RUN echo $(nproc) && \
|
|
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 \
|
|
zlib1g-dev file wget && \
|
|
apt clean && \
|
|
rm -rf /var/lib/apt/list/*
|
|
|
|
WORKDIR /licsber
|
|
|
|
RUN git clone --depth=1 https://github.com/openwrt/openwrt.git -b openwrt-22.03 && \
|
|
git clone --depth=1 https://github.com/coolsnowwolf/lede.git && \
|
|
git clone --depth=1 https://github.com/fw876/helloworld.git
|
|
|
|
CMD ['/usr/bin/env', 'bash']
|