Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume Mount Error When GOPATH Contains Multiple Values #110

Open
cwarden opened this issue Oct 5, 2023 · 0 comments
Open

Volume Mount Error When GOPATH Contains Multiple Values #110

cwarden opened this issue Oct 5, 2023 · 0 comments

Comments

@cwarden
Copy link

cwarden commented Oct 5, 2023

If GOPATH contains multiple colon-separated paths, xgo fails because the bind mount is invalid.

For example, the default GOPATH in CircleCI's ubuntu-2204:2023.07.2 machine image is /home/circleci/.go_workspace:/usr/local/go_workspace. xgo generates a parameter to docker of -v /home/circleci/.go_workspace:/usr/local/go_workspace:/go, resulting in a error, docker: Error response from daemon: invalid mode: /go.

cwarden added a commit to cwarden/batchforce that referenced this issue Oct 5, 2023
cwarden added a commit to cwarden/batchforce that referenced this issue Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant