-
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
Expected Behavior
spython should ignore variables with USER in them (e.g. $NB_USER) and only replace lines starting with USER
Actual Behavior
USER joe is replaced with su - joe
Lines like
RUN chown -cR $NB_USER /path/ get replaced with
su - # chown -cR $NB_USER /path/
Steps to Reproduce
Create a docker file, and a variable $TEST_USER
Run spython -d recipe Dockerfile Singularity.def
Context
[provide more detailed introduction to the issue itself . This is for make a reproducible issue.]
- Operating System: CentOS 7 & Mac OS 13.4
- singularity version: n/a
- spython version: 0.0.79
- python version: 3.7.4 & 3.8.2
Failure Logs
Possible Fix
[ the suggest fixes or reasons for the bug]
Metadata
Metadata
Assignees
Labels
No labels