18 lines
716 B
Docker
18 lines
716 B
Docker
|
FROM debian:testing-slim
|
||
|
|
||
|
ARG IB_URL=https://downloads.openwrt.org/releases/23.05.0/targets/ath79/generic/openwrt-imagebuilder-23.05.0-ath79-generic.Linux-x86_64.tar.xz
|
||
|
#ARG IB_URL=https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.xz
|
||
|
|
||
|
RUN apt-get update && apt-get -q -y -o Dpkg::Use-Pty=0 install build-essential \
|
||
|
libncurses-dev libncurses-dev zlib1g-dev gawk git gettext \
|
||
|
libssl-dev xsltproc rsync wget unzip python3 python3-distutils file && \
|
||
|
apt-get clean autoclean && \
|
||
|
apt-get autoremove --yes && \
|
||
|
rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||
|
|
||
|
WORKDIR /ib
|
||
|
|
||
|
RUN wget -q -c ${IB_URL} -O - | tar -xJv --strip-components=1
|
||
|
|
||
|
CMD bash
|