linux-on-ibm-z/go-build

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Calico go-build

Base image for doing golang builds for the various project calico builds.

Building the image

To build the image:

 build

The above will build for whatever architecture you are running on. To force a different architecture:

=<somearch> make build
Tagging

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.