1
0
mirror of https://github.com/alljoynsville/openwrt-builder synced 2025-06-07 07:56:33 +00:00
openwrt-builder/Dockerfile
2017-02-15 20:19:34 +02:00

16 lines
618 B
Docker

FROM ubuntu:trusty
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
DEBIAN_FRONTEND=noninteractive apt-get install -yqq git-core subversion build-essential gcc-multilib ccache quilt \
libncurses5-dev zlib1g-dev gawk flex gettext wget unzip python vim libssl-dev && \
apt-get clean && \
useradd -m openwrt && \
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
USER openwrt
RUN cd /home/openwrt && \
git clone https://github.com/openwrt/openwrt.git && \
cd openwrt && \
openwrt/scripts/feeds update && \
rm -rf tmp
WORKDIR /home/openwrt/openwrt