GHC musl
The multi-arch (linux/amd64
, linux/arm64/v8
) docker image used to build the
Linux amd64 and arm64 binary
releases of pandoc.
Credits to
-
@odidev for ghc-bootstrap-aarch64
and - @neosimsim for docker-builder-images
who laid the groundwork for this.
Table of Contents
Prerequisites
This projects requires an installation of docker.
Install
To install docker, follow the instructions for your platform:
- Install Docker Engine | Docker Documentation > Supported platforms
- Post-installation steps for Linux
Usage
Build image
latest:
docker build \
--build-arg GHC_VERSION_BUILD=9.6.1 \
--build-arg CABAL_VERSION_BUILD=3.10.1.0 \
-t ghc-musl \
-f latest.Dockerfile .
version:
docker build \
-t ghc-musl:MAJOR.MINOR.PATCH \
-f prior/MAJOR.MINOR.PATCH.Dockerfile .
For MAJOR.MINOR.PATCH
GHC versions 8.8.4
, 8.10.1
and ≥ 8.10.4
.
Run container
self built:
docker run --rm -ti ghc-musl[:MAJOR.MINOR.PATCH]
from the project's GitLab Container Registry:
docker run --rm -ti glcr.b-data.ch/ghc/ghc-musl[:MAJOR[.MINOR[.PATCH]]]
Similar project
Contributing
PRs accepted.
This project follows the Contributor Covenant Code of Conduct.
License
MIT © 2021 Olivier Benz