You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker build ssh://git@git.xxxx.yyy:2222/yyyy/dddddd.git
unable to prepare context: path "ssh://git@git.xxxx.yyy:2222/yyyy/dddddd.git" not found
When settting a private repo with custom port (not 22 here 2222) the only way to clone it is using this syntax above.
But it is not recognize as a git url to be cloned.
Is there a way to tell the builder that it is actually a git repo url for git clone command.
thanks for your help
docker version
Client:
Version: 20.10.24
API version: 1.41
Go version: go1.19.9
Git commit: 297e1284d3bd092e9bc96076c3ddc4bb33f8c7ab
Built: Wed May 3 07:00:19 2023
OS/Arch: linux/arm64
Context: default
Experimental: true
Your version of buildkit isn't very recent - I'd recommend updating it to a more recent version, there's been lots of changes to the parsing of Git URLs.
If the issue still persists in the v0.12 release, then this is likely related to (and would be resolved by) #4142, which isn't yet in a released buildkit.
Hello,
The issue is:
docker build ssh://git@git.xxxx.yyy:2222/yyyy/dddddd.git
unable to prepare context: path "ssh://git@git.xxxx.yyy:2222/yyyy/dddddd.git" not found
When settting a private repo with custom port (not 22 here 2222) the only way to clone it is using this syntax above.
But it is not recognize as a git url to be cloned.
Is there a way to tell the builder that it is actually a git repo url for git clone command.
thanks for your help
docker version
Client:
Version: 20.10.24
API version: 1.41
Go version: go1.19.9
Git commit: 297e1284d3bd092e9bc96076c3ddc4bb33f8c7ab
Built: Wed May 3 07:00:19 2023
OS/Arch: linux/arm64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.24
API version: 1.41 (minimum version 1.12)
Go version: go1.19.8
Git commit: 5d6db842238e3c4f5f9fb9ad70ea46b35227d084
Built: Tue Apr 11 07:26:55 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: v1.6.18
GitCommit: 2456e983eb9e37e47538f59ea18f2043c9a73640
runc:
Version: 1.1.5
GitCommit: f19387a6bec4944c770f7668ab51c4348d9c2f38
docker-init:
Version: 0.19.0
GitCommit:
github.com/moby/buildkit eeb7b65 # v0.8.4-0.20221020190723-eeb7b65ab7d6
The text was updated successfully, but these errors were encountered: