Skip to content

Commit

Permalink
feat: allow starting docker container via env variable
Browse files Browse the repository at this point in the history
Release note (general change): Allow setting docker command args via the `COCKROACH_ARGS` environment variable.
  • Loading branch information
btkostner committed Mar 17, 2023
1 parent 85c6e38 commit 1424d30
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/deploy/cockroach.sh
Expand Up @@ -295,4 +295,10 @@ _main() {
esac
}

_main "$@"
set_env_var "COCKROACH_ARGS"

if [[ -n "$COCKROACH_ARGS" ]]; then
_main "$COCKROACH_ARGS"
else
_main "$@"
fi

0 comments on commit 1424d30

Please sign in to comment.