Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
设置变量的前面删除$,如这样
$
#!/bin/bash VERSION=0.0.1 ARCH=alrz APP=vehicle-color-recognition DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null 2>&1 && pwd )" docker build -f $DIR/Dockerfile -t $ARCH/$APP:$VERSION .
Remove the $ in front of your variables when you set them, like this
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
设置变量的前面删除
$
,如这样Remove the
$
in front of your variables when you set them, like this