63c96f8b91
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/.
11 lines
197 B
Makefile
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
|