-
Notifications
You must be signed in to change notification settings - Fork 61
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
"uses: sh" not working in dockerized Popper #956
Comments
thanks for reporting this @wtraylor! The motivation behind the Regarding the problems with steps:
- uses: docker://docker:19.03.10
args: ["--version"] More fundamentally, one of the main goals of having container-native pipelines is to make them reproducible. By using does this make sense? |
Yes, that makes sense. I see that it is very important to provide an easy installation method through One way out of the dilemma would be to fail with an error message if Popper running in Docker enconunters |
With Popper installed through the
install.sh
script, which runs Popper within Docker, workflow steps withuses: sh
don’t execute on the host shell.Steps to Reproduce
The last command fails with:
That is because Popper cannot execute
docker --version
on the host shell, but only in its own container.Suggestion
My humble suggestion is to remove the
install.sh
feature.A proper installation through PIP has all the features one would expect (including Singularity and host shell). Recommending different installation methods with different feature sets can lead to great confusion, especially for beginners who just want to reproduce a given workflow. This will only be aggravated when (hopefully some day) Popper will be packaged for Linux distributions, because then a
/usr/local/bin/popper
installed throughinstall.sh
could unexpectedly override a/usr/bin/popper
installed through a package manager.The text was updated successfully, but these errors were encountered: