diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 739af9a3..def2baa4 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,6 +1,11 @@ #!/bin/sh -e ### Usage: /docker-entrypoint.sh +### * If command equals to "serve", config file for serving will be preprocessed using gomplate and saved to tmp dir. +### Example: docker-entrypoint.sh serve config.yaml = dex serve /tmp/dex-config.yaml-ABCDEFG +### * If command is not in the list of known dex commands, it will be executed bypassing entrypoint. +### Example: docker-entrypoint.sh echo "Hello!" = echo "Hello!" + command=$1 case "$command" in