Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (21 sloc) 868 Bytes
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y sudo time git-core subversion build-essential gcc-multilib ncurses-base \
libncurses5-dev zlib1g-dev gawk flex gettext wget curl unzip python && \
apt-get clean
RUN useradd -m openwrt &&\
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
USER openwrt
WORKDIR /home/openwrt
RUN wget -O -${OPENWRT_VERSION}.tar.gz | \
tar --strip=1 -xzvf - && \
scripts/feeds update -a
COPY --chown=openwrt:openwrt config .config
RUN make defconfig
ENV PACKAGES="samba4-server minidlna luci-app-minidlna mwan3 ntfs-3g \
prometheus-node-exporter-lua-nat_traffic \
prometheus-node-exporter-lua-netstat \
prometheus-node-exporter-lua-openwrt \
USER root
You can’t perform that action at this time.