Update Dockerfile

This commit is contained in:
alljoynsville
2016-11-17 13:13:49 +02:00
committed by GitHub
parent 549b60a4a6
commit 8b2452f1ef
+1 -1
View File
@@ -6,7 +6,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
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 git clone git://git.openwrt.org/15.05/openwrt.git
RUN sudo -iu openwrt openwrt/scripts/feeds update && sudo -iu openwrt rm -rf tmp
USER openwrt
WORKDIR /home/openwrt/openwrt