Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24278

add JDK to centos & rhel docker images

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 9.10-HF01, 10.1
    • Component/s: Cloud
    • Release Notes Summary:
      JDK is added to CentOS & RHEL docker images
    • Backlog priority:
      900

      Description

      The CentOS docker image of Nuxeo does not include the java compiler.

      After building the image available at:
      https://github.com/nuxeo/docker-nuxeo/blob/master/9.10/centos/Dockerfile

      [nuxeo@7083a7b23159 server]$ javac -version
      bash: javac: command not found

      On Ubuntu, the JDK is installed with java-1.8.0-openjdk.

      On CentOS, the name is misleading. Thus:

      yum install -y java-1.8.0-openjdk

      installs only a JRE.
      And

      yum install -y java-1.8.0-openjdk-devel
      

      installs a JDK.

      This should be updated to have the java compiler available on both platforms.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m