Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to upgrade to Java 17 for AM and IG Apps in 7.3 in AWS EKS #683

Open
sandeepk24 opened this issue Nov 13, 2024 · 5 comments
Open

How to upgrade to Java 17 for AM and IG Apps in 7.3 in AWS EKS #683

sandeepk24 opened this issue Nov 13, 2024 · 5 comments

Comments

@sandeepk24
Copy link

Please let me know if we need to update the docker file what the supported version as per FRG documentation for AM and IG Pods.

@lee-baines
Copy link
Contributor

Hi @sandeepk24. Yes you will need to follow the steps in the forgeops doc here: https://backstage.forgerock.com/docs/forgeops/7.3/how-to/base-docker-images.html. It explains how to build the java-17 image then you can build the AM/IG images to include that. 7.3 uses java-17 by default so I'm guessing you have upgraded on an older version of the products?

@sandeepk24
Copy link
Author

sandeepk24 commented Nov 20, 2024

Hey @lee-baines thank you for the response. We have 7.3 currently installed and want to upgrade the Java 17 to 21 on IG and 11 to 21 on AM. We have Java 11 used for the am and 17 for IG pods to build dockers images. And they look like are default configurations.
Below is the docker file:

FROM gcr.io/forgerock-io/ig:2024.3.0

COPY debian-buster-sources.list /etc/apt/sources.list

ARG CONFIG_PROFILE=cdk
RUN echo "*** Building '${CONFIG_PROFILE}' profile ***"
COPY --chown=forgerock:root config-profiles/${CONFIG_PROFILE}/ /var/ig
COPY --chown=forgerock:root . /var/ig

USER root
RUN mkdir /logs && chown -R forgerock:root /logs
RUN apt-get update -y && apt-get install -y curl && apt-get install vim -y && apt-get install less -y && apt-get install zip -y && apt-get install unzip -y
USER 11111

@sandeepk24
Copy link
Author

Also how is this install coming for current default deploy? The java versions are different for different apps.

@sandeepk24
Copy link
Author

Hi @lee-baines,

I see this has Java 21
https://gcr.io/forgerock-io/ig:2024.6.0.

FROM gcr.io/forgerock-io/ig:2024.6.0

Is there a Release notes where we can refer to see what changes have been made from ig:2024.3.0 to ig:2024.6.0?

Thanks,
Sandeep

@lee-baines
Copy link
Contributor

Hi @sandeepk24, sorry for not getting back sooner. Yes unfortunately the products aren't aligned on the base Java image version yet but they are working towards that. All the product pipelines are built independently so the Java version is set upstream. This page explains the supported Java versions compared to the IG versions:
https://backstage.forgerock.com/docs/ig/latest/release-notes/before-you-install.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants