You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2019/01/12 16:08:00 UTC

[jira] [Created] (YETUS-771) Dockerfile.patchspecific doesn't work when gid isn't defined

Allen Wittenauer created YETUS-771:
--------------------------------------

             Summary: Dockerfile.patchspecific doesn't work when gid isn't defined
                 Key: YETUS-771
                 URL: https://issues.apache.org/jira/browse/YETUS-771
             Project: Yetus
          Issue Type: Bug
          Components: Test Patch
    Affects Versions: 0.9.0
            Reporter: Allen Wittenauer


If test-patch is run on a node without docker installed, this code

{code}
RUN if [ "${DOCKER_SOCKET_GID}" = -1 ]; then groupadd --non-unique --gid ${DOCKER_SOCKET_GID} dockersock || true; fi
{code}

... won't work.  The '--gid ${DOCKER_SOCKET_GID}' should be removed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)