1
0
mirror of https://github.com/alljoynsville/openwrt-builder synced 2025-08-15 04:57:03 +00:00

Update Dockerfile

This commit is contained in:
alljoynsville 2018-08-08 11:48:23 +03:00 committed by GitHub
parent 0490eae9f8
commit cc3c125b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,15 @@
FROM ubuntu:trusty
FROM ubuntu:bionic
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
DEBIAN_FRONTEND=noninteractive apt-get install -yqq git-core subversion build-essential gcc-multilib ccache quilt \
libncurses5-dev zlib1g-dev gawk flex gettext wget unzip python vim libssl-dev && \
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 && \
apt-get clean && \
useradd -m openwrt && \
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
USER openwrt
RUN cd /home/openwrt && \
git clone https://github.com/openwrt/openwrt.git && \
git clone --depth 1 --branch v18.06.0 https://git.openwrt.org/openwrt.git openwrt && \
cd openwrt && \
./scripts/feeds update && \
rm -rf tmp