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

Error building docker image - install-mamba.sh #1108

Open
palmeida opened this issue Nov 1, 2024 · 1 comment
Open

Error building docker image - install-mamba.sh #1108

palmeida opened this issue Nov 1, 2024 · 1 comment

Comments

@palmeida
Copy link
Contributor

palmeida commented Nov 1, 2024

I'm getting an error building the docker image after cloning the repository:

$ docker build -f Dockerfile -t openwpm .

Extracting mamba-1.5.9-py312h9460a1c_0.conda
!!!!!! Mambaforge is now deprecated !!!!!
Future Miniforge releases will NOT build Mambaforge installers.
We advise you switch to Miniforge at your earliest convenience.
More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/.
If you are unable to switch to Miniforge, you may pin your installer version to one found in
https://github.com/conda-forge/miniforge/releases/tag/24.3.0-1
or if you lack the system requirements (Linux glibc >= 2.17, or macOS + x86-64bit >= 10.13)
you may pin your installer to one older version found in
https://github.com/conda-forge/miniforge/releases/tag/24.3.0-0
This Miniforge installer will ceese to work in 2025.
If you require this Mambaforge installer you may pin to
https://github.com/conda-forge/miniforge/releases/tag/24.7.1-0
ERROR: executing pre_install.sh failed
./install-mamba.sh: line 14: /opt/mamba/etc/profile.d/conda.sh: No such file or directory
./install-mamba.sh: line 16: conda: command not found
./install-mamba.sh: line 17: conda: command not found
./install-mamba.sh: line 18: conda: command not found
The command '/bin/bash -c ./install-mamba.sh' returned a non-zero code: 127

I tried just switching to Miniforge and adjusting the paths in the Dockerfile and it worked.

@vringar
Copy link
Contributor

vringar commented Nov 1, 2024

Hey,
thanks for discovering the issue and fixing it!
Could you open a PR with the changes you made?

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

2 participants