Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58135

Use AdoptOpenJDK Slim on Alpine Linux Docker images in order to decrease the image size

XMLWordPrintable

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently, the Alpine Linux Docker images are about the same size of the Ubuntu images, sometimes slightly bigger. As the value of Alpine is in great part its lower footprint, having bigger Alpine images somewhat defeats their purpose.

      The Dockerfile used by Atlassian for Alpine and Ubuntu respectively use:
      Alpine: FROM adoptopenjdk/openjdk8:alpine
      Ubuntu: FROM adoptopenjdk/openjdk8:slim

      The 'slim' version of adoptopenjdk is important. There is a 'slim' version for Alpine but Atlassian does not seem to use it:
      adoptopenjdk/openjdk8:alpine-slim

      I think this is valuable improvement to the Alpine images for Confluence (saves 150M).

              dchevell Dave Chevell
              fmorais Felipe Morais (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: