No Description

Dockerfile 694B

1234567891011121314151617
  1. FROM ubuntu:bionic
  2. RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
  3. DEBIAN_FRONTEND=noninteractive apt-get install -yqq build-essential gcc-multilib quilt \
  4. libncurses5-dev zlib1g-dev gawk flex gettext libssl-dev \
  5. ccache sudo time git-core subversion wget unzip python vim && \
  6. apt-get clean && \
  7. useradd -m openwrt && \
  8. echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
  9. USER openwrt
  10. RUN cd /home/openwrt && \
  11. git clone --depth 1 --branch v18.06.1 https://git.openwrt.org/openwrt/openwrt.git openwrt && \
  12. cd openwrt && \
  13. ./scripts/feeds update -a && \
  14. rm -rf tmp
  15. WORKDIR /home/openwrt/openwrt