Add detailed description to docker-entrypoint.sh
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
parent
3241fd4ae2
commit
7f744598f5
@ -1,6 +1,11 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
### Usage: /docker-entrypoint.sh <command> <args>
|
### Usage: /docker-entrypoint.sh <command> <args>
|
||||||
|
### * 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
|
command=$1
|
||||||
|
|
||||||
case "$command" in
|
case "$command" in
|
||||||
|
Reference in New Issue
Block a user