mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-04-19 07:24:59 +02:00
12 lines
268 B
Docker
12 lines
268 B
Docker
FROM alpine as build
|
|
RUN apk add alpine-sdk make curl xz bison linux-headers
|
|
WORKDIR /src
|
|
COPY . /src
|
|
|
|
RUN make sources/gcc-13.2.0.tar.xz
|
|
RUN make sources/binutils-2.41.tar.xz
|
|
RUN make -j$(nproc) TARGET=aarch64-linux-musl
|
|
RUN make install TARGET=aarch64-linux-musl
|
|
|
|
|