Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-16428

Fix selections of JDKs in debian docker images on arm64

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The debian docker image used by the cassandra-deb-packaging.sh tries to set the jdk like

      update-java-alternatives --set java-1.8.0-openjdk-amd64
      

      This won't work on arm64.
      Suggestion is to replace it with the following:

      update-java-alternatives --set $(update-java-alternatives -l | cut -d" " -f1 | grep java-1.8)
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mck Michael Semb Wever Assign to me
            mck Michael Semb Wever
            Michael Semb Wever
            zhaorenhai
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment