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 2017-02-14 18:41:10 +02:00 committed by GitHub
parent 01267959a5
commit 817d68079e

View File

@ -1,12 +1,12 @@
FROM ubuntu:trusty
RUN apt-get update && \
apt-get install -y git-core subversion build-essential gcc-multilib ccache \
libncurses5-dev zlib1g-dev gawk flex gettext wget unzip python vim && \
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
DEBIAN_FRONTEND=noninteractive apt-get install -yqq 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/openwrt.git
RUN sudo -iu openwrt openwrt/scripts/feeds update
RUN sudo -iu openwrt openwrt/scripts/feeds update && sudo -iu openwrt rm -rf tmp
USER openwrt
WORKDIR /home/openwrt/openwrt