wildwildangel/linux-musl-cross-compilers

By wildwildangel

Updated over 1 year ago

Alpine-based image for musl-based toolchains for cross-compilation

Image

10K+

linux-musl-cross-compilers

Build

A Docker image with musl-based toolchains for cross-compilation.

Usage

# 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

Docker Pull Command

docker pull wildwildangel/linux-musl-cross-compilers