Update Dockerfile

This commit is contained in:
alljoynsville
2016-11-17 12:07:38 +02:00
committed by GitHub
parent 3f7a2498b4
commit 8006fc52d0
+2 -2
View File
@@ -6,7 +6,7 @@ RUN 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 openwrt/scripts/feeds update && && sudo -iu openwrt rm -rf tmp
USER openwrt
WORKDIR /home/openwrt/openwrt
RUN git clone git://git.openwrt.org/15.05/openwrt.git
RUN openwrt/scripts/feeds update && rm -rf tmp