Name: go-build
Owner: LinuxONE and Linux on z Systems Open-source Team
Description: null
Created: 2018-02-12 12:45:17.0
Updated: 2018-02-12 12:45:18.0
Pushed: 2018-02-26 14:33:58.0
Homepage: null
Size: 30
Language: Makefile
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Base image for doing golang builds for the various project calico builds.
To build the image:
build
The above will build for whatever architecture you are running on. To force a different architecture:
=<somearch> make build
The image is tagged the version, e.g. v0.9
or latest
. In addition, the given architecture is appended to the end. Thus, for example, the latest version on amd64
will be calico/go-build:latest-amd64
.
The above tagging scheme keeps everything in a single image repository calico/go-build
and prepares for using milti-architecture image manifests.
As of this writing, the only way to create such manifests is using the manifest-tool, which involves multiple steps. This can be incorporated into the build process, or we can wait until docker manifest
is rolled into the docker CLI, see this PR.
Until such time as the docker manifest
is ready, or we decide to use manifest-tool
, the default image name will point to amd64
. Thus, calico/go-build:latest
refers to calico/go-build:latest-amd64
.