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
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:
The conanfile.py is in the current directory
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?
The text was updated successfully, but these errors were encountered:
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: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?
The text was updated successfully, but these errors were encountered: