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
cc3c125b29
commit
58926f6b78
@ -3,14 +3,15 @@ FROM ubuntu:bionic
|
|||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -yqq build-essential gcc-multilib quilt \
|
DEBIAN_FRONTEND=noninteractive apt-get install -yqq build-essential gcc-multilib quilt \
|
||||||
libncurses5-dev zlib1g-dev gawk flex gettext libssl-dev \
|
libncurses5-dev zlib1g-dev gawk flex gettext libssl-dev \
|
||||||
ccache sudo git-core subversion wget unzip python vim && \
|
ccache sudo time git-core subversion wget unzip python vim && \
|
||||||
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
|
||||||
USER openwrt
|
USER openwrt
|
||||||
RUN cd /home/openwrt && \
|
RUN cd /home/openwrt && \
|
||||||
git clone --depth 1 --branch v18.06.0 https://git.openwrt.org/openwrt.git openwrt && \
|
git clone --depth 1 --branch v18.06.0 https://git.openwrt.org/openwrt/openwrt.git openwrt && \
|
||||||
cd openwrt && \
|
cd openwrt && \
|
||||||
./scripts/feeds update && \
|
./scripts/feeds update && \
|
||||||
rm -rf tmp
|
rm -rf tmp
|
||||||
|
|
||||||
WORKDIR /home/openwrt/openwrt
|
WORKDIR /home/openwrt/openwrt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user