Allow defining of Dockerfile by name from working directory

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Duplicate
    • None
    • Component/s: Bamboo Specs, Docker
    • None
    • 0

      I've been testing out the Bamboo Specs API and Docker tasks.

      I'd like to have multiple Dockerfiles in the repository for multiple types of tests. Let's say Dockerfile.unit and Dockerfile.integration, each with different dependencies.

      Currently, you can define the Dockerfile in the task either with .dockerfileFromPath() or .dockerfileInWorkingDir().

      The latter doesn't have a way of defining the Dockerfile's name. I have a workaround, which uses a relative path "../../Dockerfile.unit", but this reads the Dockerfile and uses it inline during publishing of the spec and not when the task itself is running.

              Assignee:
              Unassigned
              Reporter:
              Arch Red Support
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: