GoogleCloudPlatform/container-builder-local

Name: container-builder-local

Owner: Google Cloud Platform

Description: Local Builder runs Google Cloud Container Builder builds locally, allowing faster debugging, less vendor lock-in, and integration into local build and test workflows.

Created: 2017-06-13 17:20:46.0

Updated: 2018-05-22 17:46:28.0

Pushed: 2018-05-22 17:52:31.0

Homepage:

Size: 31902

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Google Container Builder Local Builder

Local Builder runs Google Container Builder locally, allowing easier debugging, execution of builds on your own hardware, and integration into local build and test workflows.


Prerequisites
  1. Ensure you have installed:

  2. If the build needs to access a private Google Container Registry, install and configure the Docker credential helper for Google Container Registry.

  3. Configure your project for the gcloud tool, where [PROJECT_ID] is your Cloud Platform project ID:

    ud config set project [PROJECT-ID]
    
Install using gcloud
  1. Install by running the following command:

    ud components install container-builder-local
    

    After successful installation, you will have container-builder-local in your PATH as part of the Google Cloud SDK binaries.

  2. To see all of the commands, run:

    ntainer-builder-local --help
    

    The Local Builder's command is $ container-builder-local.

Download the latest binaries

The latest binaries are available in a GCS bucket.

Download the latest binaries from GCS.

To run a build:

ntainer-builder-local_{linux,darwin}_{386,amd64}-v<latest_tag> --dryrun=false --config=path/to/cloudbuild.yaml path/to/code
Developing and contributing to the Local Builder

See the contributing instructions.

Limitations
Support

File issues here on gitHub, email gcr-contact@google.com, or join our Slack channel if you have general questions about Local Builder or Container Builder.


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.