mirror of
https://github.com/alljoynsville/openwrt-builder
synced 2025-06-07 07:56:33 +00:00
13 lines
497 B
Docker
13 lines
497 B
Docker
FROM ubuntu:trusty
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y git-core subversion build-essential gcc-multilib ccache \
|
|
libncurses5-dev zlib1g-dev gawk flex gettext wget unzip python vim && \
|
|
apt-get clean && \
|
|
useradd -m openwrt && \
|
|
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
|
|
RUN sudo -iu openwrt git clone git://git.openwrt.org/14.07/openwrt.git
|
|
RUN sudo -iu openwrt openwrt/scripts/feeds update
|
|
USER openwrt
|
|
WORKDIR /home/openwrt/openwrt
|