Files
ziti/quickstart/docker

Building and Deploying the Latest Quickstart Docker Image

Build Docker Image

  1. change to this directory: cd quickstart/docker
  2. set an environment variable: export ZITI_HOME=$(pwd)
  3. source the helper script: source ../ziti-cli-functions.sh
  4. cleanup the binary directory if it exists: rm -rf ./image/ziti.ignore
  5. issue this function to pull the latest ziti binaries: getLatestZiti
  6. move the ziti binaries: mv ziti-bin/ziti image/ziti.ignore/
  7. build the docker image: docker build image -t openziti/quickstart
  8. exec into a container and make sure it's the version you expect: docker run --rm -it openziti/quickstart ziti version
  9. cleanup: rm ziti-*tar.gz; rm -rf ziti-bin

Push Docker Image to dockerhub

  1. retag the image locally to match the expected version: docker push openziti/quickstart:0.19.3
  2. push the latest: docker push openziti/quickstart
  3. push the versioned tag: docker push openziti/quickstart:0.19.3