forked from Sysdeploy/openwrt
Parametrize downloads further, reverse apt packages
This commit is contained in:
parent
b527854368
commit
1da3e27066
|
@ -1,6 +1,9 @@
|
||||||
FROM ubuntu:focal
|
FROM ubuntu:focal
|
||||||
|
|
||||||
ENV OPENWRT_VERSION=22.03.2
|
ENV OPENWRT_VERSION=22.03.2
|
||||||
|
ENV OPENWRT_TARGET=bcm27xx
|
||||||
|
ENV OPENWRT_DEVICE=bcm2711
|
||||||
|
ENV OPENWRT_CC=gcc-11.2.0_musl
|
||||||
|
|
||||||
RUN apt -y update
|
RUN apt -y update
|
||||||
|
|
||||||
|
@ -8,17 +11,17 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=UTC \
|
||||||
apt -yq install \
|
apt -yq install \
|
||||||
build-essential rsync git-core subversion mercurial libssl-dev \
|
build-essential rsync git-core subversion mercurial libssl-dev \
|
||||||
libncurses5-dev unzip gawk zlib1g-dev libncursesw5-dev zlib1g-dev \
|
libncurses5-dev unzip gawk zlib1g-dev libncursesw5-dev zlib1g-dev \
|
||||||
gettext xsltproc wget unzip python python3-distutils rxvt-unicode
|
gettext xsltproc wget unzip python
|
||||||
|
|
||||||
RUN mkdir /Downloads
|
RUN mkdir /Downloads
|
||||||
|
|
||||||
RUN wget -qP /Downloads \
|
RUN wget -qP /Downloads \
|
||||||
"https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/targets/bcm27xx/bcm2711/openwrt-imagebuilder-${OPENWRT_VERSION}-bcm27xx-bcm2711.Linux-x86_64.tar.xz"
|
"https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/targets/bcm27xx/bcm2711/openwrt-imagebuilder-${OPENWRT_VERSION}-${OPENWRT_TARGET}-${OPENWRT_DEVICE}.Linux-x86_64.tar.xz"
|
||||||
|
|
||||||
RUN wget -qP /Downloads \
|
RUN wget -qP /Downloads \
|
||||||
"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"
|
"https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/targets/bcm27xx/bcm2711/openwrt-sdk-${OPENWRT_VERSION}-${OPENWRT_TARGET}-${OPENWRT_DEVICE}_${OPENWRT_CC}.Linux-x86_64.tar.xz"
|
||||||
|
|
||||||
RUN wget -qP /Downloads \
|
RUN wget -qP /Downloads \
|
||||||
"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"
|
"https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/targets/bcm27xx/bcm2711/openwrt-toolchain-${OPENWRT_VERSION}-${OPENWRT_TARGET}-${OPENWRT_DEVICE}_${OPENWRT_CC}.Linux-x86_64.tar.xz"
|
||||||
|
|
||||||
ADD . .
|
ADD . .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user