pandoc/static-linux/Makefile
John MacFarlane 63c96f8b91 Added static-linux directory.
This provides a Makefile and Dockerfile sufficient for
producing a completely statically linked linux executable
for maximum portability.

If docker is installed, this should suffice:

make setup
make build

The binary will be placed in artifacts/.
2017-03-17 14:19:08 +01:00

11 lines
197 B
Makefile

ARTIFACTS=`pwd`/artifacts
build:
mkdir -p $(ARTIFACTS)
docker run -v $(ARTIFACTS):/artifacts alpine-pandoc
setup:
docker pull alpine:edge
docker build -t alpine-pandoc .
.PHONY: build setup