Use non root user for setting up Confluence in Docker container.

XMLWordPrintable

      During the installation of Confluence using the Docker container we are using root permissions:

      def gen_cfg(tmpl, target, env, user='root', group='root', mode=0o644, overwrite=True):

      As a good practice, we should use non-root user in this case. As we already have confluence user and files are written by it, please change the entrypoint.py to use something like this:

      def gen_cfg(tmpl, target, env, user='confluence', group='confluence', mode=0o644, overwrite=True)
      

            Assignee:
            Dave Chevell
            Reporter:
            g (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: