Files
cyphernode/build.sh
kexkey 4db2ac351b v0.6.0 (#208)
* v0.6.0-rc.1

* v0.6.0-rc.2

* v0.6.0-rc.3

* v0.6.0-rc.4

* Much smaller Tor container image

* v0.6.0
2021-02-17 16:26:39 -05:00

48 lines
1.3 KiB
Bash
Executable File

#!/bin/bash
TRACING=1
# CYPHERNODE VERSION "v0.6.0"
CONF_VERSION="v0.6.0-local"
GATEKEEPER_VERSION="v0.6.0-local"
TOR_VERSION="v0.6.0-local"
PROXY_VERSION="v0.6.0-local"
NOTIFIER_VERSION="v0.6.0-local"
PROXYCRON_VERSION="v0.6.0-local"
OTSCLIENT_VERSION="v0.6.0-local"
PYCOIN_VERSION="v0.6.0-local"
BITCOIN_VERSION="v0.20.1"
LIGHTNING_VERSION="v0.9.1"
trace()
{
if [ -n "${TRACING}" ]; then
echo "[$(date +%Y-%m-%dT%H:%M:%S%z)] ${1}" > /dev/stderr
fi
}
trace_rc()
{
if [ -n "${TRACING}" ]; then
echo "[$(date +%Y-%m-%dT%H:%M:%S%z)] Last return code: ${1}" > /dev/stderr
fi
}
build_docker_images() {
trace "Updating SatoshiPortal repos"
trace "Creating cyphernodeconf image"
docker build cyphernodeconf_docker/ -t cyphernode/cyphernodeconf:$CONF_VERSION
trace "Creating cyphernode images"
docker build api_auth_docker/ -t cyphernode/gatekeeper:$GATEKEEPER_VERSION \
&& docker build tor_docker/ -t cyphernode/tor:$TOR_VERSION \
&& docker build proxy_docker/ -t cyphernode/proxy:$PROXY_VERSION \
&& docker build notifier_docker/ -t cyphernode/notifier:$NOTIFIER_VERSION \
&& docker build cron_docker/ -t cyphernode/proxycron:$PROXYCRON_VERSION \
&& docker build pycoin_docker/ -t cyphernode/pycoin:$PYCOIN_VERSION \
&& docker build otsclient_docker/ -t cyphernode/otsclient:$OTSCLIENT_VERSION
}
build_docker_images