mirror of
https://github.com/hanzozt/zt.git
synced 2026-10-30 15:04:55 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
18 lines
381 B
Bash
18 lines
381 B
Bash
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
# set -o xtrace
|
|
|
|
# this script is executed during the docker build, after the build context has been copied to /docker.build.context
|
|
|
|
ZITI_BIN_DIR="${1}"
|
|
|
|
if [ -d /docker.build.context/zt-bin ]; then
|
|
mv /docker.build.context/zt-bin/ "${ZITI_BIN_DIR}"
|
|
else
|
|
source /docker.build.context/zt-cli-functions.sh
|
|
getZiti
|
|
fi
|