On Mon, Apr 26, 2021 at 07:28:36PM +0800, Liu Yinsi wrote:
[why] special symbols will be parsed in shell command "docker build -t --build-arg $PASSWORD ...", caused failed to build images, so delete.
Did you try ${PASSWORD}?
Thanks, Xueliang
Signed-off-by: Liu Yinsi liuyinsi@163.com
sparrow/3-code/dev-env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sparrow/3-code/dev-env b/sparrow/3-code/dev-env index b68d9e67..15d9bc45 100755 --- a/sparrow/3-code/dev-env +++ b/sparrow/3-code/dev-env @@ -190,7 +190,7 @@ auto-submit: EOF
[[ -f /etc/compass-ci/passwd.yaml ]] || { -passwd=$(< /dev/urandom tr -dc "a-zA-Z0-9-=+@#_:/[](){}$%&.^*!" | head -c 10;echo) +passwd=$(< /dev/urandom tr -dc "a-zA-Z0-9" | head -c 10; echo)
cat > /etc/compass-ci/passwd.yaml <<EOF ES_USER: root -- 2.23.0