Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15508

Allow mounting subdirectories of $BITBUCKET_CLONE_DIR for Docker run.

    XMLWordPrintable

Details

    Description

      Currently when using the Docker run command, it is only possible to mount the $BITBUCKET_CLONE_DIRECTORY. It would be good to allow support for mounting other directories under the $BITBUCKET_CLONE_DIRECTORY

      Allow for mounting directories such as:

      #!
      $ docker run -v $BITBUCKET_CLONE_DIR/app:/app my-container:version
      

      As per this discussion here. Including a few example use-cases: https://community.atlassian.com/t5/Bitbucket-questions/Re-Re-Bitbucket-pipelines-how-can-I-map-a-volume-to-do/qaq-p/703437/comment-id/22253#M22253

      Attachments

        Activity

          People

            nburrell lassian
            phodder Philip Hodder
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: