aboutsummaryrefslogtreecommitdiff
path: root/static-linux
AgeCommit message (Collapse)AuthorFilesLines
2017-03-17Improved static linux alpine build.John MacFarlane1-3/+6
* Use -split-objs (reduces executable size from ~50M to 32M), at cost of much slower compilation. * Moved building of prereqs from CMD to RUN, so they can be cached. Doing 'make build' will fetch the latest from git and rebuild pandoc, but dependencies needn't be rebuilt.
2017-03-17Added static-linux directory.John MacFarlane2-0/+29
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/.