Docker build

Docker build

Building container image uses services

Use docker:dind for containerized Docker daemon

The GitLab runner must be configured to run privileged container


Package binary in container image

  1. Create new stage called package after test
  2. Add job package in stage package
  3. Add service to job package

(See new .gitlab-ci.yml)