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

Update Dockerfile

This commit is contained in:
alljoynsville 2016-11-17 12:11:47 +02:00 committed by GitHub
parent 8006fc52d0
commit 549b60a4a6

View File

@ -1,12 +1,12 @@
FROM ubuntu:trusty
RUN apt-get -qq update && \
apt-get -qq install -y git-core subversion build-essential gcc-multilib ccache quilt \
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
DEBIAN_FRONTEND=noninteractive apt-get -qq install -y 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
RUN sudo -iu openwrt git clone git://git.openwrt.org/14.07/openwrt.git
RUN sudo -iu openwrt openwrt/scripts/feeds update && && sudo -iu openwrt rm -rf tmp
RUN sudo -iu openwrt openwrt/scripts/feeds update && sudo -iu openwrt rm -rf tmp
USER openwrt
WORKDIR /home/openwrt/openwrt