Skip to content
Snippets Groups Projects
Unverified Commit 97ace64c authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

fix(docker-image): init containerbase if needed (#32445)

parent f3cd1f3f
No related branches found
No related tags found
No related merge requests found
...@@ -5,4 +5,9 @@ if [[ -f "/usr/local/etc/env" && -z "${CONTAINERBASE_ENV+x}" ]]; then ...@@ -5,4 +5,9 @@ if [[ -f "/usr/local/etc/env" && -z "${CONTAINERBASE_ENV+x}" ]]; then
. /usr/local/etc/env . /usr/local/etc/env
fi fi
if [[ ! -d "/tmp/containerbase" ]]; then
# initialize all prepared tools
containerbase-cli init tool all
fi
/usr/local/renovate/node --use-openssl-ca "${RENOVATE_NODE_ARGS[@]}" /usr/local/renovate/dist/renovate.js "$@" /usr/local/renovate/node --use-openssl-ca "${RENOVATE_NODE_ARGS[@]}" /usr/local/renovate/dist/renovate.js "$@"
...@@ -5,4 +5,9 @@ if [[ -f "/usr/local/etc/env" && -z "${CONTAINERBASE_ENV+x}" ]]; then ...@@ -5,4 +5,9 @@ if [[ -f "/usr/local/etc/env" && -z "${CONTAINERBASE_ENV+x}" ]]; then
. /usr/local/etc/env . /usr/local/etc/env
fi fi
if [[ ! -d "/tmp/containerbase" ]]; then
# initialize all prepared tools
containerbase-cli init tool all
fi
/usr/local/renovate/node --use-openssl-ca /usr/local/renovate/dist/config-validator.js "$@" /usr/local/renovate/node --use-openssl-ca /usr/local/renovate/dist/config-validator.js "$@"
...@@ -5,6 +5,11 @@ if [[ -f "/usr/local/etc/env" && -z "${CONTAINERBASE_ENV+x}" ]]; then ...@@ -5,6 +5,11 @@ if [[ -f "/usr/local/etc/env" && -z "${CONTAINERBASE_ENV+x}" ]]; then
. /usr/local/etc/env . /usr/local/etc/env
fi fi
if [[ ! -d "/tmp/containerbase" ]]; then
# initialize all prepared tools
containerbase-cli init tool all
fi
if [[ "${1:0:1}" = '-' ]]; then if [[ "${1:0:1}" = '-' ]]; then
# assume $1 is renovate flag # assume $1 is renovate flag
set -- renovate "$@" set -- renovate "$@"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment