-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
19 lines (16 loc) · 848 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM archlinux:latest AS owrt-build
RUN \
pacman-key --init && \
pacman-key --populate archlinux && \
pacman -Syu --noconfirm \
asciidoc autoconf automake base-devel bash binutils bison bzip2 \
fakeroot file findutils flex gawk gcc gettext git grep groff gzip \
help2man intltool libelf libtool libxslt m4 make ncurses openssl \
patch perl-extutils-makemaker pkgconf python rsync sed swig texinfo \
time unzip util-linux wget which zlib
RUN \
wget https://downloads.openwrt.org/releases/23.05.3/targets/ramips/mt7621/openwrt-sdk-23.05.3-ramips-mt7621_gcc-12.3.0_musl.Linux-x86_64.tar.xz && \
tar xf openwrt-sdk-23.05.3-ramips-mt7621_gcc-12.3.0_musl.Linux-x86_64.tar.xz && \
mv openwrt-sdk-23.05.3-ramips-mt7621_gcc-12.3.0_musl.Linux-x86_64/ /build
WORKDIR /build
CMD ["/bin/bash"]