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

base: migrate to Debian Bookworm #1564

Closed
wants to merge 5 commits into from
Closed

base: migrate to Debian Bookworm #1564

wants to merge 5 commits into from

Conversation

saghul
Copy link
Member

@saghul saghul commented Jun 14, 2023

No description provided.

@saghul
Copy link
Member Author

saghul commented Jun 14, 2023

Not working yet because of adoptium/adoptium-support#816

@emrahcom
Copy link
Contributor

Hi @saghul,

I tried the followings to install openjdk-11-jre-headless on bookworm container and it work

  • Run docker.io/library/debian:bookworm-slim
  • Add bullseye repositories into /ec/apt/sources.list.d/bullseye.list
deb http://deb.debian.org/debian bullseye main
deb http://deb.debian.org/debian bullseye-updates main
deb http://security.debian.org/debian-security bullseye-security main
  • Update repo info
apt-get update
  • Install openjdk-11-jre-headless
apt-get install openjdk-11-jre-headless

# or

apt-get install openjdk-11-jre-headless --no-install-recommends

Notes:

  • All dependencies come from bookworm repo except libgraphite2-3
  • apt-get dist-upgrade doesn't install any new package and doesn't break the system
  • java version after these steps
java --version

openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.18+10-post-Debian-1deb11u1, mixed mode, sharing)

@saghul
Copy link
Member Author

saghul commented Jun 24, 2023

The AdopOpenJDK repo has been updated now but I haven't been able to update the PR as I was at a conference.

Any reason to prefer Debian old stable repo to that one?

The advantage I see with the latter is that they provide builds for all LTS Java versions, unlike Debian.

@emrahcom
Copy link
Contributor

Actually I don't have much idea about using the AdopOpenJDK repo. After a quick check, it looks like that openjdk-11 will be available until Oct 2024 on Adoptium but it will be available until June 2026 on Debian Bullseye.

https://adoptium.net/support/
https://wiki.debian.org/LTS

@saghul
Copy link
Member Author

saghul commented Jun 24, 2023

Interesting points! I'll dig a little here.

@saghul
Copy link
Member Author

saghul commented Sep 18, 2023

re: the OpenJDK source: https://whichjdk.com/#adoptium-eclipse-temurin

We don't need to settle it in stone, but I think Temurin sounds like a good way forward. I assume we'll be running 17 before 11 is EOL anyway, so relying on Debian's support feels unnecessary.

@emrahcom
Copy link
Contributor

I think that a simpler PR will work now since the latest jibri works with OpenJDK-17.

@saghul
Copy link
Member Author

saghul commented Dec 21, 2023

I think that a simpler PR will work now since the latest jibri works with OpenJDK-17.

Yes indeed!

@saghul
Copy link
Member Author

saghul commented Dec 21, 2023

I hope to pick back up early next year.

@saghul
Copy link
Member Author

saghul commented Mar 22, 2024

Superseded by #1770

@saghul saghul closed this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants