Dockerfile may not necessarily located at the root of context. In this case, we can use "docker build --file=path/to/Dockerfile ." in command-line to specify non-default path of Dockerfile.

      So please add option of "Custom Dockerfile location" in the step as well.

          [JENKINS-28340] Allow "--file" option in "Create Image" step

          Kuo-Cheng Yeu created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 163176 ] New: JNJira + In-Review [ 181123 ]

            vjuranek vjuranek
            kcyeu Kuo-Cheng Yeu
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: