Skip to content
Snippets Groups Projects
Commit 7f744598 authored by m.nabokikh's avatar m.nabokikh
Browse files

Add detailed description to docker-entrypoint.sh

parent 3241fd4a
No related branches found
No related tags found
No related merge requests found
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment