mirror of
https://github.com/alljoynsville/openwrt-builder
synced 2025-06-07 16:06:28 +00:00
Update Dockerfile
This commit is contained in:
parent
5ce23e6b85
commit
ebb6beb8ab
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user