Skip to content
Snippets Groups Projects
Olivier Benz's avatar
Olivier Benz authored
- Add constraint on Cabal-syntax version
aa1062e6
History

minimal-readme compliant Project Status: Active – The project has reached a stable, usable state and is being actively developed. Donate using Liberapay

GHC for pandoc

The multi-arch (linux/amd64, linux/arm64/v8) docker image used to build the Linux amd64 and arm64 binary releases of pandoc.

Credits to

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:

Usage

Build image

latest:

docker build \
  --build-arg GHC_VERSION_BUILD=9.4.2 \
  --build-arg CABAL_VERSION_BUILD=3.8.1.0 \
  -t ghc4pandoc \
  -f latest.Dockerfile .

version:

docker build \
  -t ghc4pandoc:<major>.<minor>.<patch> \
  -f <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 ghc4pandoc[:<major>.<minor>.<patch>]

from the project's GitLab Container Registry:

docker run --rm -ti registry.gitlab.b-data.ch/ghc/ghc4pandoc[:<major>[.<minor>[.<patch>]]]

Similar project

Contributing

PRs accepted.

This project follows the Contributor Covenant Code of Conduct.

License

MIT © 2021 Olivier Benz