${SCRAM_ARCH:3:1} == 5 in /opt/cms/entrypoint.sh for slc6 images?
Should the image cmsopendata/cmssw_5_3_32_vnc:latest
have 6 instead of 5 in /opt/cms/entrypoint.sh in:
if [[ ${SCRAM_ARCH:3:1} == 5 ]]
then
export LD_LIBRARY_PATH=${UPDATE_PATH}/lib:${LD_LIBRARY_PATH}
export PATH=${UPDATE_PATH}/bin:${PATH}
fi
When I use the image locally in interactive use, the library path is correct. I know it because I get the correct git version. I assume then that the path update does not happen using this local entrypoint file.
If I use the image in a GitHub workflow, the entrypoint gets somehow overwritten. I know it because I get the old git version.
If I source the entrypoint again in the container, it does not update the library path because the local entrypoint file in the container has 5 instead of 6 in the SCRAM_ARCH condition statement.