Add container admins.

This commit is contained in:
Thomas Bellembois
2022-12-27 11:24:34 +01:00
parent 8687df84be
commit 7ecfaaa221
3 changed files with 47 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ Overwrite=""
Private=""
Env=""
Command=""
Admins=""
if [ ! -z "$PROXYSCHEME" ]
then
@@ -40,6 +41,12 @@ then
Command="-command $COMMAND"
fi
if [ ! -z "$ADMINS" ]
then
Admins="-admins $ADMINS"
fi
if [ ! -z "$PRIVATE" ]
then
Private="-private"
@@ -73,8 +80,9 @@ echo $ImageName
echo $ContainerName
echo $Overwrite
echo $Private
echo $Admins
echo $Env
echo $Command
#/go/bin
sh -c "/go/bin/codefirst-dockerproxy-clientdrone $ProxyScheme $ProxyHost $ProxyPath $ImageName $ContainerName $Private $Overwrite $Env $Command"
sh -c "/go/bin/codefirst-dockerproxy-clientdrone $ProxyScheme $ProxyHost $ProxyPath $ImageName $ContainerName $Private $Admins $Overwrite $Env $Command"