Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
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:
- 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