summaryrefslogtreecommitdiff
path: root/blubberoid.yaml
blob: 49476849aefe6140dcfa02b0014a20efc14b2070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: v3
base: docker-registry.wikimedia.org/wikimedia-stretch:latest
lives:
  in: /app/go/src/gerrit.wikimedia.org/r/blubber
runs:
  environment:
    GOPATH: /app/go

variants:
  build:
    apt:
      packages:
        - build-essential
        - git
        - golang-go
    builder:
      requirements: [.]
      command: [go, build, ./cmd/blubberoid]

  production:
    copies: build
    entrypoint: [./blubberoid]