Skip to content

Commit

Permalink
Updated snapcraft.yaml to build with golang-1.12-go
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyar committed May 4, 2019
1 parent b768a8a commit 82947d1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ summary: modern & minimalistic load balancer and reverse-proxy for the Cloud era
description: gobetween is free, open-source, modern & minimalistic L4 load balancer and reverse proxy for the Cloud era
confinement: classic
grade: devel
architectures:
- build-on: amd64
run-on: amd64
- build-on: i386
run-on: i386
base: core18

parts:
Expand All @@ -19,12 +24,17 @@ parts:
source: .
source-type: local
build-packages:
- golang-go
- gcc
- git
- software-properties-common
makefile: Makefile
artifacts:
- bin/gobetween
override-build: |
add-apt-repository --yes ppa:longsleep/golang-backports
apt-get update
apt-get install --yes golang-1.12-go
snapcraftctl build
config:
plugin: dump
Expand Down

0 comments on commit 82947d1

Please sign in to comment.