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 2016-11-17 13:13:49 +02:00 committed by GitHub
parent 549b60a4a6
commit 8b2452f1ef

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