forked from mystiq/dex
feat: Add dockerize to the Dex docker image
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
parent
64e47cc22a
commit
7784a4727c
1 changed files with 11 additions and 0 deletions
11
entrypoint.sh
Executable file
11
entrypoint.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
### Usage: /entrypoint.sh <command> <args>
|
||||
command=$1
|
||||
|
||||
if [ "$command" == "serve" ]; then
|
||||
file="$2"
|
||||
dockerize -template "$file" | dex serve -
|
||||
else
|
||||
dex $@
|
||||
fi
|
Loading…
Reference in a new issue