Upgrading version of go australis is built with. Added script to build debian package inside of docker container for easy distribution in a debian environment.

This commit is contained in:
Renan DelValle 2019-03-21 16:08:17 -07:00
parent 0a5607d5b4
commit 0f19631c9a
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
6 changed files with 38 additions and 54 deletions

View file

@ -2,7 +2,7 @@ FROM ubuntu:16.04
RUN apt-get update -y && \
apt-get install -y build-essential devscripts dh-exec dh-make git lintian wget && \
wget https://dl.google.com/go/go1.11.4.linux-amd64.tar.gz -O /tmp/go.tar.gz
wget https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz -O /tmp/go.tar.gz
RUN tar -C /usr/local -xzf /tmp/go.tar.gz

View file

@ -0,0 +1,5 @@
#!/bin/bash
docker build . -t australis_deb_builder
docker run --rm -v $HOME/go/pkg/mod:/go/pkg/mod -v $(pwd)/..:/australis australis_builder