Adding Dockerfile which can be used to build image to build debian package for xenial more reliably.

This commit is contained in:
Renan DelValle 2018-12-28 08:59:52 -08:00
parent cb8b2122b0
commit 7b7c8714a3
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
2 changed files with 26 additions and 0 deletions

13
deb-packaging/entrypoint.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
# Temporary fix for a go mods bug
rm /australis/go.sum
# Build debian package
cd /australis
debuild -d -us -uc -b
# Move resulting packages to the dist folder
mkdir -p /australis/dist
mv /australis_*_amd64* /australis/dist