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

When will support Java 21 be added? #4169

Open
bcg-siingkim opened this issue Jan 17, 2024 · 2 comments
Open

When will support Java 21 be added? #4169

bcg-siingkim opened this issue Jan 17, 2024 · 2 comments

Comments

@bcg-siingkim
Copy link

Environment:

  • Jib version: 3.4.0
  • Build tool: Gradle
  • OS: Mac

Description of the issue:
When will support for building Java 21 be available?

@3mtee
Copy link

3mtee commented Feb 6, 2024

FWIW, I managed to get it working by explicitly specifying a jre image name to use as a base

jib {
    from {
        image = "eclipse-temurin:21-jre"
    }
}

@mimranfaruqi
Copy link

FWIW, I managed to get it working by explicitly specifying a jre image name to use as a base

jib {
    from {
        image = "eclipse-temurin:21-jre"
    }
}

Are your containers running with root after using from ?

I also had the same problem and when I specified the images explicitly, the jib containers are running with root user.

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

No branches or pull requests

4 participants