Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18582

Support adding a new environment variable for docker installation that would allow passing additional JAVA_OPTIONS other than just the memory parameters

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docker Image
    • Labels:
      None

      Description

      Support adding a new environment variable for Artifactory docker installation that would allow passing additional JAVA_OPTIONS other than just the memory parameters. Currently it is only possible to pass the java memory parameters as environment variables. 

      This is required in scenarios where you want to change the location of the java truststore (cacerts) from the default location and use a custom "cacerts" file. If the location of the "cacerts" is changed, then the only way to force Artifactory to use the new java truststore (cacerts) is by providing following JAVA_OPTION -Djavax.net.ssl.trustStore. It is possible to manually add these JAVA_OPTIONS inside the container, but in automated deployments this is an obstacle and also the changes won't be persistent unless you mount this "artifactory.default" file.

      Along with this if the user wants to specify any other additional JAVA_OPTIONS for Artifactory, then they have to do this manually inside the container. Manual changes won't be persistent. 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nihalc@jfrog.com Nihal Reddy Chinna Choudhary
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: