Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-4421

change dockerfile to get java from rpm and not direct install

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.6.17
    • None
    • None
    • None

    Description

      Chris Hubing
      11:18 AM
      So, here is the Dockerfile I used to install coretto java for both arm and x86_64 container and it works for both, no need to pass in platform arch flags or anything:

      1. Install Corretto Java JDK (newer more arch independent way)
        RUN rpm --import https://yum.corretto.aws/corretto.key \
        && curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo \
        && yum install -y java-1.8.0-amazon-corretto-devel
        11:19
        obviously, that version will change to 17
        11:19
        i can test that

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: