1
0
mirror of https://github.com/alljoynsville/openwrt-builder synced 2025-06-10 09:26:18 +00:00

Update Dockerfile

This commit is contained in:
alljoynsville 2016-03-08 11:03:41 +02:00
parent df446b28e3
commit 5f53f7eaa4

View File

@ -1,10 +1,10 @@
FROM ubuntu:trusty
RUN apt-get update &&\
apt-get install -y git-core subversion build-essential gcc-multilib \
libncurses5-dev zlib1g-dev gawk flex gettext wget vim unzip python libssl-dev &&\
apt-get clean &&\
useradd -m openwrt &&\
RUN apt-get update && \
apt-get install -y git-core subversion build-essential gcc-multilib ccache \
libncurses5-dev zlib1g-dev gawk flex gettext wget vim unzip python libssl-dev && \
apt-get clean && \
useradd -m openwrt && \
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
RUN sudo -iu openwrt git clone git://git.openwrt.org/15.05/openwrt.git
RUN sudo -iu openwrt openwrt/scripts/feeds update