fix entrypoint

This commit is contained in:
2020-04-04 15:47:29 -05:00
committed by Ian Norden
parent 290157a202
commit 2f4ed18231
+7 -2
View File
@@ -58,8 +58,13 @@ DEFAULT_OPTIONS="--config=$VDB_CONFIG_FILE"
VDB_FULL_CL=${VDB_FULL_CL:-$VDB_COMMAND $DEFAULT_OPTIONS}
echo running: ./vulcanizedb $VDB_FULL_CL $@
# XXX need to lose the env vars
./vulcanizedb $@
vdb_args="$@"
# default is to use the config passed by the build arg
if [[ -z "$vdb_args" ]];
vdb_args="--config=config.toml"
fi
./vulcanizedb $vdb_args
rv=$?
if [ $rv != 0 ]; then