build: updated build-container with go1.11.

This commit is contained in:
Leonard Gram
2018-09-05 11:55:28 +02:00
parent 12c9860882
commit 8ea2f7f858
3 changed files with 9 additions and 2 deletions

View File

@@ -45,6 +45,10 @@ else
fi
echo "Building frontend"
go run build.go ${OPT} build-frontend
# Load ruby, needed for packing with fpm
source /etc/profile.d/rvm.sh
echo "Packaging"
go run build.go -goos linux -pkg-arch amd64 ${OPT} package-only latest
#removing amd64 phantomjs bin for armv7/arm64 packages

View File

@@ -33,5 +33,8 @@ fi
echo "Building frontend"
go run build.go ${OPT} build-frontend
# Load ruby, needed for packing with fpm
source /etc/profile.d/rvm.sh
echo "Packaging"
go run build.go -goos linux -pkg-arch amd64 ${OPT} package-only latest