Commit df302563 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

fix

parent d8e02652
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ for i in *.md ; do
    	groupadd -for -g "$SOCK_GID" dockergroup || true

    	# Create a passwd entry for the host user
    	if ! getent passwd "$HOST_UID" >/dev/null 2>&1; then
    	if ! grep -qE "^([^:]*:){2}${HOST_UID}:" /etc/passwd; then
      		echo "ciuser:x:${HOST_UID}:${SOCK_GID}:CI User:/home/ciuser:/bin/bash" >> /etc/passwd
      		mkdir -p /home/ciuser
      		chown "$HOST_UID":"$SOCK_GID" /home/ciuser