k8s-addon-builder

command module
v0.0.0-...-1ffa992 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

k8s-addon-builder

Using

This repository hosts code to build a Docker image (called "k8s-addon-builder") that has both golang and docker installed. Depending on both Go and Docker is common in the Kubernetes world of addon images.

It also ships with a command line utility called "ply" that can help with some common git and docker-based tasks.

Building

The k8s-addon-builder image is based on gcr.io/cloud-builders/docker, but also packages in a Golang compiler. To build the k8s-addon-builder with the Golang compiler from gcr.io/cloud-builders/go:debian, run

./build-in-gcb.sh

To build with a different version of Go (instead of the one in gcr.io/cloud-builders/go:debian), do

_GO_IMAGE=golang:1.9-stretch ./build-in-gcb.sh

The above works because gcr.io/cloud-builders/go:debian uses the official golang Docker image as a base image.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL