Loading specifications/publish_spec.sh +3 −3 Original line number Diff line number Diff line Loading @@ -103,10 +103,10 @@ for i in *.md ; do SOCK_GID=$(stat -c "%g" /var/run/docker.sock) # Make sure a matching group exists for the socket addgroup -g "$SOCK_GID" dockergroup 2>/dev/null || true addgroup --gid "$SOCK_GID" dockergroup 2>/dev/null || true # Create a passwd entry for the host user echo "ciuser:x:${HOST_UID}:${SOCK_GID}:CI User:/home/ciuser:/bin/bash" >> /etc/passwd adduser --disabled-password --gecos "CI User" --uid "$HOST_UID" --gid "$SOCK_GID" --home /home/ciuser --shell /bin/sh ciuser 2>/dev/null || true mkdir -p /home/ciuser chown "$HOST_UID":"$SOCK_GID" /home/ciuser Loading Loading
specifications/publish_spec.sh +3 −3 Original line number Diff line number Diff line Loading @@ -103,10 +103,10 @@ for i in *.md ; do SOCK_GID=$(stat -c "%g" /var/run/docker.sock) # Make sure a matching group exists for the socket addgroup -g "$SOCK_GID" dockergroup 2>/dev/null || true addgroup --gid "$SOCK_GID" dockergroup 2>/dev/null || true # Create a passwd entry for the host user echo "ciuser:x:${HOST_UID}:${SOCK_GID}:CI User:/home/ciuser:/bin/bash" >> /etc/passwd adduser --disabled-password --gecos "CI User" --uid "$HOST_UID" --gid "$SOCK_GID" --home /home/ciuser --shell /bin/sh ciuser 2>/dev/null || true mkdir -p /home/ciuser chown "$HOST_UID":"$SOCK_GID" /home/ciuser Loading