File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:14.04
2
+ MAINTAINER Benjamin Henrion <
[email protected] >
3
+
4
+ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y -q
5
+ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q --force-yes build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip wget
6
+
7
+ RUN useradd -d /home/openwrt -m -s /bin/bash openwrt
8
+ RUN echo "openwrt ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/openwrt
9
+ RUN chmod 0440 /etc/sudoers.d/openwrt
10
+
11
+ USER openwrt
12
+
13
+ WORKDIR /home/openwrt
14
+ RUN git clone --quiet https://github.com/mirrors/openwrt.git
15
+ WORKDIR /home/openwrt/openwrt
16
+ # checking out version 48724 (svn) == 4eba46dc3a80529146329a5f28629429d6fb3cd5 (git)
17
+ RUN git checkout 4eba46dc3a80529146329a5f28629429d6fb3cd5
18
+ RUN echo "CONFIG_TARGET_ar71xx=y" > .config
19
+ RUN make defconfig
20
+ RUN make prereq
21
+ RUN make -j`nproc` tools/install
22
+ RUN make -j`nproc` toolchain/install
23
+ RUN echo "src-git zmq https://github.com/zoobab/openwrt-zmq-packages.git" >> feeds.conf.default
24
+ RUN ./scripts/feeds update zmq
25
+ RUN ./scripts/feeds install -p zmq
26
+ RUN ./scripts/feeds update -a
27
+ RUN ./scripts/feeds install -a
28
+ RUN make -j`nproc`
29
+
30
+ RUN echo "CONFIG_PACKAGE_glard=y" >> .config
31
+ RUN make oldconfig
32
+ RUN make -j`nproc`
You can’t perform that action at this time.
0 commit comments