Sign inSign up

wildwildangel/linux-musl-cross-compilers

By wildwildangel

Updated almost 3 years ago

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

Image
0

10K+

wildwildangel/linux-musl-cross-compilers repository overview

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

Tag summary

Content type

Image

Digest

sha256:8d7d28ce0

Size

697.9 MB

Last updated

almost 3 years ago

docker pull wildwildangel/linux-musl-cross-compilers