Commit Graph

6 Commits

Author SHA1 Message Date
Niels Hofmans 1f1c6a0b87
Merge branch 'master' into patch-1 2019-12-12 14:35:39 +01:00
Khaled Elkhawaga dd614881b6 Fix Docker build failure (#149)
* Enables module-mode in Docker to fix build

* Statically compile binary in Docker to fix missing dependency errors

* Ensure target OS is set to Linux for Docker builds
2019-11-22 20:27:28 +04:00
Niels Hofmans c78393feae
Use debian buster distroless 2019-10-29 09:11:45 +01:00
Niels Hofmans ee006678e0
Use go 1.13.3 2019-10-29 09:10:12 +01:00
Niels Hofmans ba632907d9
refactor(docker): optimize Dockerfile
Remove obsolete upx binary compression
Run as unprivileged user
2019-08-12 14:05:34 +02:00
Johan Bergström d3f9aa2ae7 Build a docker container
Use debian/distroless (glibc) as a base which in general gives
slightly higher performance than alpine (musl) while trading
off container size (about 10mb).

The build phase makes the assumption that any capnproto-files
are pre-processed before building in-docker.
2019-06-06 13:50:13 +04:00