1
0
mirror of https://github.com/alljoynsville/openwrt-builder synced 2025-06-07 16:06:28 +00:00

Update Dockerfile

This commit is contained in:
alljoynsville 2016-03-08 10:56:40 +02:00
parent eb300fe4fd
commit d42de05ad1

View File

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