-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improve error-checking in chroot_install
#23
Comments
Discovered this due to conda-incubator/conda-store#666. |
I think we can capture the output without having to check the returncode as done in process = subprocess.run(
[
"fakechroot",
"chroot",
new_root,
"/_conda.exe",
"install",
"--offline",
"--file",
"/opt/conda/pkgs/env.txt",
"-y",
"--prefix",
"/opt/conda",
],
env=env,
cwd=host_conda_opt,
capture_output=True,
text=True,
check=False,
) And then log the output via That said, we could also look into less hacky ways to build a docker image without docker. These days |
Then, about using conda-standalone exe here... it's going to cause trouble one way or another. We could add an option for |
Currently, it has this comment:
Suggestions:
The text was updated successfully, but these errors were encountered: