This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这个错误是因为你输入的分支名或者标签名不存在,或者你没有在本地仓库中创建这个分支或标签。请确保你输入的分支名或标签名正确,并且在本地仓库中存在。你可以使用以下命令查看本地仓库中所有的分支和标签:
git branch -a git tag -l
git fetch origin <branch/tag>
git checkout <branch/tag>
请问构建docker时这个问题如何解决呀:
$ sudo docker build --build-arg REPO_LOCATION=artifactory.itg.ti.com/docker-public/library/ --build-arg USE_PROXY=ti -f Dockerfile -t x86_ubuntu_22 .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
docs.docker.com/.../
Sending build context to Docker daemon 29.24MB
Step 1/10 : ARG REPO_LOCATION=''
Step 2/10 : FROM ${REPO_LOCATION}ubuntu:22.04
Get "">artifactory.itg.ti.com/.../": dial tcp: lookup artifactory.itg.ti.com on 127.0.0.53:53: no such host