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-03 22:46:35 +02:00
parent 5ce23e6b85
commit ebb6beb8ab

View File

@ -1,12 +1,11 @@
FROM ubuntu:trusty FROM ubuntu:trusty
RUN apt-get update &&\ RUN apt-get update -qq && \
apt-get install -y git-core subversion build-essential gcc-multilib ccache \ apt-get install -y -q 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 && \
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
USER openwrt
WORKDIR /home/openwrt/openwrt WORKDIR /home/openwrt/openwrt