Explorar el Código

Модификация docker-entrypoint.sh

wadim hace 7 años
padre
commit
40677dc63f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      docker-entrypoint.sh

+ 2 - 2
docker-entrypoint.sh

@@ -15,11 +15,11 @@ sed -i "s/communication = \"remote\"/communication = \"socket\"/" /etc/web-regis
 
 echo "#Dummy" >> /etc/rc.d/init.d/functions
 source /etc/init.d/web-registry-portal status
-echo "CMD is ${$@}"
+echo "CMD is $@"
 
 if [ ! -z "$@" ]
 then
     exec "$@"
 else
-    exec ${WEB_REGISTRY_BIN} ${WEB_REGISTRY_OPTS}
+    exec ${WEB_REGISTRY_BIN} ${WEB_REGISTRY_CUSTOM_OPTS} ${WEB_REGISTRY_OPTS}
 fi