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.

12 lines
308 B

  1. #!/bin/bash
  2. set -e
  3. docker run \
  4. --rm \
  5. -v "$PWD":/usr/src/myapp \
  6. -w /usr/src/myapp \
  7. golang:1.8-alpine \
  8. sh -c 'apk add --no-cache git gcc musl-dev && go get -u github.com/constabulary/gb/... && gb build -f github.com/matrix-org/go-neb'
  9. docker build -t ${IMAGE_PREFIX}go-neb:latest .