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-06-30 10:43:06 +03:00 committed by GitHub
parent 8b2452f1ef
commit d3bb2adb94

View File

@ -6,7 +6,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -qq 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/15.05/openwrt.git
RUN sudo -iu openwrt openwrt/scripts/feeds update && sudo -iu openwrt rm -rf tmp
USER openwrt USER openwrt
WORKDIR /home/openwrt/openwrt WORKDIR /home/openwrt/openwrt
RUN git clone git://git.openwrt.org/15.05/openwrt.git && cd openwrt && \
./scripts/feeds update && rm -rf tmp .config .config.old