John MacFarlane
473b4ad62d
Update linux Dockerfile to use cabal new-build.
2018-11-26 23:15:06 -08:00
John MacFarlane
3af988a671
linux/Dockerfile - use resolver lts-12.12.
2018-11-03 21:08:12 -07:00
John MacFarlane
bf17af65a7
Fix bug in linux/Dockerfile.
2018-11-03 20:56:39 -07:00
John MacFarlane
23cd1c77a6
Fix bug in linux/Dockerfile.
2018-11-03 20:55:17 -07:00
John MacFarlane
3fbbdd92fb
linux Dockerfile - use released static build of stack.
2018-10-18 10:31:16 -07:00
John MacFarlane
1cd03e30df
linux/Dockerfile: Use more recent (unofficial) stack.
2018-09-16 19:42:08 -07:00
John MacFarlane
f9665d0f4a
Linux Dockerfile: try upgrading stack.
2018-09-16 13:55:13 -07:00
John MacFarlane
5776e62edf
Remove upx stuff from Dockerfile.
2018-09-16 13:53:43 -07:00
Josh
bf56181204
Remove duplicate instruction ( #4796 )
2018-07-30 10:28:39 -07:00
John MacFarlane
cccaf33e2d
linux/Dockerfile: simplify and use new ghc 8.4.3.
2018-07-15 20:25:54 -07:00
John MacFarlane
9b92993a0a
Dockerfile fixes.
...
Note that stack no longer provides a static binary, so we
use an older one from their GitHub releases.
2018-05-11 11:46:39 -07:00
John MacFarlane
317840ab0d
Use latest haddock-library even for stack.lts9 build.
2018-04-24 12:35:03 -07:00
John MacFarlane
58534cc74e
Revised Dockerfile for static linux build.
2018-04-23 22:43:10 -07:00
John MacFarlane
26fee8bfee
dockerfile: upgrade stack.
2018-04-20 23:37:12 -07:00
John MacFarlane
999dd2a239
linux package build: use stack lts-9.
...
Also break up the build into three chunks for better
cacheability.
2017-12-28 09:25:01 -08:00
John MacFarlane
40a55728bb
Docker build: upgrade stack first.
2017-12-27 20:55:15 -08:00
John MacFarlane
ffa3d7160e
Removed stack.pkg.yaml.
...
We only really need stack.yaml; we can put flag settings
for pandoc-citeproc there.
Also use ghc-8.0.2 in dockerized linux build. This is
the only version available for alpine so far.
2017-12-27 20:21:37 -08:00
John MacFarlane
bcf982c083
Linux package build: ensure that pandoc-citeproc is statically linked.
2017-10-30 14:28:21 -07:00
John MacFarlane
0463a57a5c
Back to using alpine-based Dockerfile for linux build.
2017-10-22 15:04:49 -07:00
John MacFarlane
e720a44f68
Fixed bug in make_linux.sh path.
2017-10-22 14:30:49 -07:00
John MacFarlane
5a7a3f15d2
Linux package: new debian-based non-static build.
2017-10-22 14:29:20 -07:00
John MacFarlane
4170a18479
Another try to get linux static linking working again.
2017-09-05 08:36:13 -07:00
John MacFarlane
d02518bf1b
Make sure bash is available in linux package build environment.
2017-09-04 21:54:53 -07:00
John MacFarlane
2637df2bdf
Revert use of llvm backend in static linux build.
...
It was failing for reasons I couldn't diagnose.
2017-09-04 18:11:55 -07:00
John MacFarlane
aa90919fe9
Add 'static' Cabal flag, use it for linux statically linked.
2017-09-04 17:07:20 -07:00
John MacFarlane
ff991d1e21
Revert "Revert "Use file-embed instead of hsb2hs to embed data files.""
...
This reverts commit 1fa15c225b
.
2017-04-02 23:10:10 +02:00
John MacFarlane
1fa15c225b
Revert "Use file-embed instead of hsb2hs to embed data files."
...
This reverts commit 10d91c1479
.
2017-03-26 20:48:17 +02:00
John MacFarlane
10d91c1479
Use file-embed instead of hsb2hs to embed data files.
...
I think template haskell is robust enough now across platforms
that this will work.
Motivation: file-embed gives us better dependency tracking: if a data
file changes, ghc/stack/cabal know to recompile the Data module.
This also removes hsb2hs as a build dependency.
2017-03-26 17:22:00 +02:00
John MacFarlane
de8d4e2f86
Fixed paths: deb->linux.
2017-03-19 17:35:19 +01:00
John MacFarlane
74fd00b5f6
Improved linux tar.gz creation and added Dockerfile to repository.
2017-03-19 16:24:52 +01:00