mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 07:18:36 +00:00
9e0bae07ee
Added ability to set listener bind port Added tests for new port variable Fixed bug in quickstart test Fixed typo in quickstart test fixed bug in quickstart env file test closes #706 Signed-off-by: gberl002 <geoff.berl@netfoundry.io>
Building and Deploying the Latest Quickstart Docker Image
Build Docker Image for Local Dev (probably for docker-compose testing)
- change to this directory:
cd quickstart/docker - run the script
./buildLocalDev.shwhich will create aopenziti/quickstart:devtag - update
.envand change the value forZITI_VERSIONtodev - run
docker-composeas normal
Build Docker Image For Publication
- change to this directory:
cd quickstart/docker - set an environment variable:
export ZITI_HOME=$(pwd) - source the helper script:
source ../ziti-cli-functions.sh - cleanup the binary directory if it exists:
rm -rf ./image/ziti.ignore - issue this function to pull the latest ziti binaries:
getLatestZiti - move the ziti binaries:
mv ziti-bin/ziti image/ziti.ignore/ - build the docker image:
docker build image -t openziti/quickstart - exec into a container and make sure it's the version you expect:
docker run --rm -it openziti/quickstart ziti version - cleanup:
rm ziti-*tar.gz; rm -rf ziti-bin
Push Docker Image to dockerhub
source ./image/ziti-cli-functions.sh- just run
./pushLatestDocker.sh