Skip to content

Commit eed729c

Browse files
committed
Set CONAN_HOME to find remotes.json
When aswfdocker makes Conan calls, it needs to set the CONAN_HOME environment variable to allow Conan to find $CONAN_HOME/remotes.json when interacting with remote repos. Signed-off-by: Jean-Francois Panisset <[email protected]>
1 parent dca02a6 commit eed729c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/aswfdocker/builder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def _run_in_docker(self, base_cmd, cmd, dry_run):
177177
def _get_conan_env_vars(self, version_info):
178178
envs = {
179179
"CONAN_USER_HOME": constants.CONAN_USER_HOME,
180+
"CONAN_HOME": os.path.join(constants.CONAN_USER_HOME, ".conan2"),
180181
"CCACHE_DIR": "/tmp/ccache",
181182
"CONAN_NON_INTERACTIVE": "1",
182183
}

0 commit comments

Comments
 (0)