Sign inSign up

govau/cga-cli

By govau

Updated about 6 years ago

Provides a docker image with the CLI tools used to build and administer the cloud.gov.au platform

Image
0

2.8K

govau/cga-cli repository overview

CircleCI Docker Automated build Docker Build Status

CLI tools for cloud.gov.au

Provides a docker image with the CLI tools used to build and administer the cloud.gov.au platform.

CircleCI is used to test each change. The image on the master branch is automatically published on docker hub.

How to use it?

Assumes you have docker running

This image is published on docker hub. To use it (with some common things added to the container environment):

docker run -it --rm \
  -v $PWD:/workspace \
  -w /workspace \
  -v $HOME/.aws:/root/.aws \
  -v $HOME/.ssh:/root/.ssh \
  cga-cli bash

The above command when run the first time will automatically pull the latest image from docker hub. If you run it again later, it will use the previously pulled version. To pull the latest version:

docker pull govau/cga-cli
How to build it locally?

Assumes you have docker running

  1. Clone this repository:
git clone https://github.com/govau/cga-cli.git
  1. Build the image and tag it cga-cli:
docker build --tag cga-cli cga-cli
  1. Verify the built image:
docker run -it --rm cga-cli kubectl --version

Tag summary

Content type

Image

Digest

Size

149.9 MB

Last updated

about 6 years ago

docker pull govau/cga-cli