openwrt-builders/base/Containerfile

56 lines
823 B
Docker

FROM alpine:latest
RUN --mount=type=cache,dst=/etc/apk/cache apk add git
RUN git clone --depth='1' --branch='v23.05.0-rc4' https://git.openwrt.org/openwrt/openwrt.git /root/OpenWRT
WORKDIR /root/OpenWRT
RUN --mount=type=cache,dst=/etc/apk/cache apk add \
argp-standalone \
asciidoc \
autoconf \
automake \
bash \
bc \
bzip2 \
cdrkit \
coreutils \
ccache \
diffutils \
elfutils-dev \
file \
findutils \
flex \
g++ \
gawk \
gcc \
gettext \
grep \
gzip \
intltool \
libxslt \
linux-headers \
make \
musl-fts-dev \
musl-libintl \
musl-obstack-dev \
musl-utils \
ncurses-dev \
openssl-dev \
openssl \
patch \
perl \
pkgconf \
python3-dev \
rsync \
tar \
unzip \
util-linux \
wget \
zlib-dev
ENV FORCE_UNSAFE_CONFIGURE=1
RUN ./scripts/feeds update -a
RUN ./scripts/feeds install -a