When we pull a docker image with singularity that contains information such as:
# VARIABLES
ARG WORKDIR="/home/container/"
ARG USER="USER"
ARG GROUP="GROUP"
ENV PATH="${WORKDIR}:${PATH}"
# CREATE USER
RUN groupadd -r ${GROUP} && useradd --no-log-init -r -g ${GROUP} ${USER}
# SET ENVIRONMENT
WORKDIR ${WORKDIR}
RUN chown -R ${USER}:${GROUP} ${WORKDIR} && chmod 700 ${WORKDIR}
USER ${USER}
singularity cannot convert it properly to an image and it returns error like:
Singularity: action-suid (U=0,P=480)> Home directory is not owned by calling user: /tmp/repo/rnaseqpipeline/tests/test_integration_workflow
ERROR : Home directory is not owned by calling user: /tmp/repo/rnaseqpipeline/tests/test_integration_workflow
Singularity: action-suid (U=0,P=480)> Retval = 255
Tested with singularity v2.6.1
How should we handle this?
When we pull a docker image with singularity that contains information such as:
singularity cannot convert it properly to an image and it returns error like:
Tested with singularity v2.6.1
How should we handle this?