Alpine-based image for musl-based toolchains for cross-compilation
10K+
A Docker image with musl-based toolchains for cross-compilation.
# syntax = docker/dockerfile:1.2
FROM --platform=amd64 wildwildangel/linux-musl-cross-compilers AS build-base
RUN apk add --no-cache your-dependencies
FROM build-base AS build
ARG TARGETPLATFORM
WORKDIR /src
COPY . .
RUN \
$(setvars ${TARGETPLATFORM}) && \
# your build commands go here
Content type
Image
Digest
sha256:8d7d28ce0…
Size
697.9 MB
Last updated
almost 3 years ago
docker pull wildwildangel/linux-musl-cross-compilers