Allow Bamboo Docker images to mount server configuration files

XMLWordPrintable

    • 1

      Problem Definition

       Currently, the docker image we ship doesn't preserve any changes we make in server.xml. If we need to change some settings like adding a proxy address, we need to build a new image.

      Suggested Solution

      We can  add the volume attribute in DockerFile. This preserves the changes we make in server conf.

      VOLUME ["${BAMBOO_SERVER_HOME}", "${BAMBOO_SERVER_INSTALL_DIR}/conf"]
      

      Workaround 

      We need to create a new image after alteration to preserve the values during a restart.

            Assignee:
            Unassigned
            Reporter:
            Jeyanthan I (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: