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

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

    XMLWordPrintable

Details

    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

          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

          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

          Yes, this works now in version 1.4. Thanks

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: