1
0
mirror of https://github.com/alljoynsville/openwrt-builder synced 2025-06-06 15:36:24 +00:00

Update Dockerfile

This commit is contained in:
alljoynsville 2015-12-24 21:04:20 +02:00
parent 0db6e32d38
commit 3d5c236e4b

View File

@ -1,10 +1,10 @@
FROM ubuntu:14.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 unzip python &&\
apt-get clean &&\
useradd -m openwrt &&\
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt &&\
sudo -iu openwrt git clone git://git.openwrt.org/14.07/openwrt.git &&\
sudo -iu openwrt openwrt/scripts/feeds update
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
RUN sudo -iu openwrt git clone git://git.openwrt.org/14.07/openwrt.git
RUN sudo -iu openwrt openwrt/scripts/feeds update