1
0
mirror of https://github.com/alljoynsville/openwrt-builder synced 2025-06-06 15:36:24 +00:00

Update Dockerfile

This commit is contained in:
alljoynsville 2017-06-30 18:23:39 +03:00 committed by GitHub
parent d3bb2adb94
commit f12aec8ba4

View File

@ -7,6 +7,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
useradd -m openwrt && \
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
USER openwrt
RUN cd /home/openwrt && \
git clone git://git.openwrt.org/15.05/openwrt.git && \
cd openwrt && \
./scripts/feeds update && \
rm -rf tmp .config .config.old
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