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

CONAN_USE_DOCKER is incompatible with conanfile.py in a subdirectory #306

Closed
himikof opened this issue Dec 6, 2018 · 2 comments
Closed

Comments

@himikof
Copy link

himikof commented Dec 6, 2018

Placing conanfile.py in a subdirectory of the project repository instead of the root is often desirable (see conan-io/conan#3635, for example). But the build.py currently makes these 2 assumptions:

  1. The conanfile.py is in the current directory
  2. The current directory is the docker build context root if CONAN_USE_DOCKER is set

So even if conan itself is capable of correctly building the package, there is no way to use the correct docker build context root and find the conanfile.py correctly at the same time.

Maybe an option to set the docker build context root, or an option to find conanfile.py in a subdirectory could be provided?

@Croydon
Copy link
Contributor

Croydon commented Nov 22, 2020

That should be fixed with #528

@uilianries
Copy link
Member

Fixed by #528

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants