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

  1. version: v4
  2. base: docker-registry.wikimedia.org/wikimedia-stretch:latest
  3. variants:
  4. build:
  5. base: docker-registry.wikimedia.org/golang:1.11.5-1
  6. apt: {packages: [gcc, git, make]}
  7. test:
  8. includes: [build]
  9. copies: [local]
  10. runs: { insecurely: true }
  11. builder:
  12. command: [go, get, -u, golang.org/x/lint/golint]
  13. entrypoint: [make, test]
  14. prep:
  15. includes: [build]
  16. builder:
  17. command: [make, blubberoid]
  18. requirements: [.]
  19. production:
  20. copies:
  21. - from: prep
  22. source: /srv/app/blubberoid
  23. destination: /srv/app/blubberoid
  24. entrypoint: [./blubberoid]