29 lines
915 B
Docker
29 lines
915 B
Docker
FROM ubuntu:focal
|
|
|
|
ENV OPENWRT_VERSION=22.03.2
|
|
|
|
RUN apt -y update
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive TZ=UTC \
|
|
apt -yq install \
|
|
build-essential rsync git-core subversion mercurial libssl-dev \
|
|
libncurses5-dev unzip gawk zlib1g-dev libncursesw5-dev zlib1g-dev \
|
|
gettext xsltproc wget unzip python
|
|
|
|
RUN mkdir /Downloads
|
|
|
|
WORKDIR /Downloads
|
|
|
|
RUN wget -q \
|
|
"https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/\
|
|
targets/bcm27xx/bcm2711/\
|
|
openwrt-imagebuilder-${OPENWRT_VERSION}-bcm27xx-bcm2711.Linux-x86_64.tar.xz"
|
|
RUN wget -q \
|
|
"https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/\
|
|
targets/bcm27xx/bcm2711/\
|
|
openwrt-sdk-${OPENWRT_VERSION}-bcm27xx-bcm2711_gcc-11.2.0_musl.Linux-x86_64.tar.xz"
|
|
RUN wget -q \
|
|
"https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/\
|
|
targets/bcm27xx/bcm2711/\
|
|
openwrt-toolchain-${OPENWRT_VERSION}-bcm27xx-bcm2711_gcc-11.2.0_musl.Linux-x86_64.tar.xz"
|