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 2017-02-14 01:01:33 +02:00 committed by GitHub
parent 8659d93cc7
commit 01267959a5

View File

@ -6,7 +6,7 @@ RUN apt-get update && \
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/openwrt.git
RUN sudo -iu openwrt openwrt/scripts/feeds update RUN sudo -iu openwrt openwrt/scripts/feeds update
USER openwrt USER openwrt
WORKDIR /home/openwrt/openwrt WORKDIR /home/openwrt/openwrt