mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
14 lines
341 B
Bash
14 lines
341 B
Bash
#!/bin/bash
|
|
|
|
# this script is executed during the docker build, after the build context has been copied to /docker.build.context
|
|
|
|
dest="${1}"
|
|
|
|
if [ -d /docker.build.context/ziti-bin ]; then
|
|
mv /docker.build.context/ziti-bin/ "${dest}"
|
|
else
|
|
source /docker.build.context/ziti-cli-functions.sh
|
|
getZiti
|
|
mv "${ZITI_BIN_DIR}" "${dest}"
|
|
fi
|