Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18722

Allow defining of Dockerfile by name from working directory

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • Bamboo Specs, Docker
    • None
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7ee6c93ab615 Arch Red Support
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: