You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
619 B

version: v4
base: docker-registry.wikimedia.org/wikimedia-stretch:latest
variants:
build:
base: docker-registry.wikimedia.org/golang:1.11.5-1
apt: {packages: [gcc, git, make]}
test:
includes: [build]
copies: [local]
runs: { insecurely: true }
builder:
command: [go, get, -u, golang.org/x/lint/golint]
entrypoint: [make, test]
prep:
includes: [build]
builder:
command: [make, blubberoid]
requirements: [.]
production:
copies:
- from: prep
source: /srv/app/blubberoid
destination: /srv/app/blubberoid
entrypoint: [./blubberoid]