mirror of
https://github.com/alljoynsville/openwrt-builder
synced 2025-06-07 16:06:28 +00:00
Update Dockerfile
This commit is contained in:
parent
d3bb2adb94
commit
f12aec8ba4
@ -7,6 +7,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
|
|||||||
useradd -m openwrt && \
|
useradd -m openwrt && \
|
||||||
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
|
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
|
||||||
USER 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
|
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user