Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22838

Building a Dockerfile fails when using ADD with a file in a subfolder

    Details

    • Similar Issues:

      Description

      Step 2 : ADD files/authorized_keys /var/lib/jenkins/.ssh/

      [Docker] ERROR: {"errorDetail":

      Unknown macro: {"message"}

      ,"error":"files/authorized_keys: no such file or directory"}

      This is a problem in docker-java. See
      https://github.com/kpelykh/docker-java/pull/47

        Attachments

          Activity

          Hide
          vjuranek vjuranek added a comment -

          I upgraded to latest docker-java, where this issue should be fixed (just released version plugin 1.4 with docker-java upgrade). Could you please test and verify, that the issue was fixed? Thanks

          Show
          vjuranek vjuranek added a comment - I upgraded to latest docker-java, where this issue should be fixed (just released version plugin 1.4 with docker-java upgrade). Could you please test and verify, that the issue was fixed? Thanks
          Hide
          hackmann Hack Kampbjørn added a comment -

          Yes, this works now in version 1.4. Thanks

          Show
          hackmann Hack Kampbjørn added a comment - Yes, this works now in version 1.4. Thanks

            People

            • Assignee:
              vjuranek vjuranek
              Reporter:
              hackmann Hack Kampbjørn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: