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:
parent
0a5607d5b4
commit
0f19631c9a
6 changed files with 38 additions and 54 deletions
|
@ -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
|
||||
|
||||
|
|
5
deb-packaging/build_deb.sh
Normal file
5
deb-packaging/build_deb.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue