-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathDockerfile
23 lines (18 loc) · 913 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:20.04
MAINTAINER timiil@163.com
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