File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -221,14 +221,16 @@ elif [[ ${running} == "false" ]]; then
221221 echo " Creating new dev-c7 container version ${version_tag:- Unknown} ..."
222222 ${logging}
223223
224- # Restore bash as the default shell and
225- # Remove the git ownership check because this matches the behaviour of RHEL7 git
224+ # At runtime we launch bash in the container and perform the following:
225+ # Restore bash as the default shell in etc/passwd
226+ # Reinstall git-core to overcome issue of https plugin missing
227+ # Remove the git safe directory check to match the behaviour of RHEL7 git
226228 podman run -dit --name ${container_name} ${runtime} ${environ} \
227229 ${identity} ${volumes} ${devices} ${opts} ${image} :${version} \
228230 bash -c " sudo sed -i s#/bin/sh#/bin/bash# /etc/passwd ;
231+ sudo yum -y reinstall git-core ;
229232 git config --global --add safe.directory '*' ;
230233 bash"
231-
232234fi
233235
234236# Execute a shell in the container - this allows multiple shells and avoids
You can’t perform that action at this time.
0 commit comments