The builder for https://github.com/coolsnowwolf/lede
6.6K
FROM ubuntu:20.04
MAINTAINER [email protected]
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
apt-get update && \
apt-get -y upgrade && \
apt-get install -y build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev && \
apt-get install -y lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp && \
apt-get install -y libssl-dev texinfo libglib2.0-dev && \
apt-get install -y xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync && \
apt-get install -y nano && \
rm -rf /var/lib/apt/lists/*
RUN \
git clone https://github.com/coolsnowwolf/lede.git && \
cd lede && \
./scripts/feeds update -a && \
./scripts/feeds install -a
WORKDIR /lede