Closed
Description
On Puhti (Tykky v0.3.2) any attempt to call pip-containerize update
on a container created with a --slim
flag throws an error about not being able to find Python.
How to reproduce
module purge
module load tykky
pip-containerize new --slim --prefix tykky_test requirements.txt
pip-containerize update --post-install extra.txt tykky_test
Fails with:
/PUHTI_TYKKY_vYJJ0DS/_post_install.sh: /PUHTI_TYKKY_vYJJ0DS/env1/bin/pip: /PUHTI_TYKKY_vYJJ0DS/env1/bin/python3: bad interpreter: No such file or directory
This seems to be independent of what packages requirements.txt
and extra.txt
contain. I'm attaching examples with very simple packages.
The error does not occur if the container is created without the --slim
flag.
Metadata
Metadata
Assignees
Labels
No labels