Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-203

The image goal will create an invalid Dockerfile if the provisioningDir is set to an absolute path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.1.0.Final
    • None
    • None
    • None

      Setting the provisioningDir to an absolute path in for the image goal will result in the absolute path being used. Docker only allows for relative paths.

      The <src> path must be inside the context of the build; you cannot COPY ../something /something, because the first step of a docker build is to send the context directory (and subdirectories) to the docker daemon.

      https://docs.docker.com/engine/reference/builder/#copy

      If an absolute path is found, the relative path should be used here.

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: