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 2018-08-08 12:36:48 +03:00 committed by GitHub
parent cc3c125b29
commit 58926f6b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,17 @@
FROM ubuntu:bionic
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 \
ccache sudo git-core subversion wget unzip python vim && \
ccache sudo time git-core subversion wget unzip python vim && \
apt-get clean && \
useradd -m openwrt && \
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
USER 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 && \
./scripts/feeds update && \
rm -rf tmp
WORKDIR /home/openwrt/openwrt