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

Support alpine based images (Java 8, 11, 16, 17) #72

Closed
llamahunter opened this issue Sep 23, 2021 · 30 comments · Fixed by #167
Closed

Support alpine based images (Java 8, 11, 16, 17) #72

llamahunter opened this issue Sep 23, 2021 · 30 comments · Fixed by #167
Labels
enhancement New feature or request

Comments

@llamahunter
Copy link

The previous adoptopenjdk project supported compact alpine base images. Please restore support for them, at least using musl, if not glibc.

@tellison
Copy link
Contributor

This is being discussed on the Temurin build issue 2688.

You can follow the progress of each Java 17 platform release here.

@karianna karianna added the duplicate This issue or pull request already exists label Sep 24, 2021
@karianna karianna reopened this Sep 27, 2021
@karianna karianna changed the title Support alpine based images Support alpine based images (Java 8, 11, 16, 17) Sep 27, 2021
@karianna
Copy link
Contributor

karianna commented Sep 27, 2021

  • Java 8
  • Java 11
  • Java 16
  • Java 17

@llamahunter
Copy link
Author

It seems that java 11 musl/alpine support is now available? Plans to publish as a temurin container?
adoptium/jdk11u#7
Java 8 progress seems ongoing
adoptium/jdk8u#8

@karianna
Copy link
Contributor

We're having to do some serious testing first, but yes eventually we'll release these (hopefully Oct PSU timeframe).

@gdams gdams removed the duplicate This issue or pull request already exists label Oct 26, 2021
@gdams
Copy link
Member

gdams commented Oct 27, 2021

@llamahunter the JDK11 alpine images are now live:

~ docker run -it eclipse-temurin:11-alpine java --version
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment Temurin-11.0.13+8 (build 11.0.13+8)
OpenJDK 64-Bit Server VM Temurin-11.0.13+8 (build 11.0.13+8, mixed mode)

@mkemmerz
Copy link

Will there also be Alpine JRE images? We heavily relied on the now depcreated adoptopenjdk/openjdk8:jre8 and jre11.

@gdams
Copy link
Member

gdams commented Oct 29, 2021

@mkemmerz yes there will be Alpine JRE images for JDK11 (and JDK8 eventually)

@karianna karianna added the enhancement New feature or request label Oct 31, 2021
@christophsturm
Copy link

will the alpine images also support arm64?

@karianna
Copy link
Contributor

karianna commented Nov 2, 2021

will the alpine images also support arm64?

Not at this stage, we'd be happy to accept a contribution for this.

@christophsturm
Copy link

cool. where would i start when i would like to contribute this?

@karianna
Copy link
Contributor

karianna commented Nov 3, 2021

Do you have access to any Linux ARM systems?

@christophsturm
Copy link

christophsturm commented Nov 3, 2021

i have a m1 mac, it can build arm64 docker images.

@karianna
Copy link
Contributor

karianna commented Nov 3, 2021

OK, that might work? See if you can get VirtualBox or Parallels running, and start-up an Alpine ARM docker image (https://hub.docker.com/_/alpine).

@christophsturm
Copy link

building alpine based images arm64 images works fine even on macos, but It seems the temurin update scripts (update_all.sh and others) work only on linux. so I will probably need to try it on parallels.

@devoto13
Copy link

Isn't the problem here is that there are no arm64 binaries for Alpine available? https://adoptium.net/releases.html?variant=openjdk17&jvmVariant=hotspot

This is the most closely related issue which I've found upstream - adoptium/temurin-build#2497.

@llamahunter
Copy link
Author

I think this arm64 stuff is off topic for this issue?
Still hoping for java 8 alpine support soon.

@llamahunter
Copy link
Author

llamahunter commented Jan 13, 2022

Is an alpine version of java 8 now available? The other github issue I was tracking for this was recently closed, but I don't see the image listed on https://github.com/docker-library/docs/blob/master/eclipse-temurin/README.md#supported-tags-and-respective-dockerfile-links

Ah, perhaps just merged today to the release branch? adoptium/jdk8u#4

I guess that means an update to this issue and the supported tags page is coming sometime in the next several days.

@llamahunter
Copy link
Author

I still don't see a jdk8 alpine image.

@karianna
Copy link
Contributor

karianna commented Feb 4, 2022 via email

@gounthar
Copy link

gounthar commented Mar 7, 2022

I have several aarch64 machines available with Docker.
How can I help getting those alpine jdk8+ images published?

@gdams gdams closed this as completed in #167 Mar 8, 2022
@gdams
Copy link
Member

gdams commented Mar 8, 2022

Alpine images for JDK8u will be available once docker-library/official-images#12000 is merged

@DRoppelt
Copy link
Contributor

DRoppelt commented Mar 15, 2022

  • Java 8

  • Java 11

  • Java 16

  • Java 17

@karianna / @gdams I think it would be helpful to add the tick in this comment here: #72 (comment)

At least that is the comment that I have bookmarked and checked every now and then. Unfortunately I cannot submit a PR to the comment as a suggested edit

@karianna
Copy link
Contributor

Done!

@gounthar
Copy link

Thanks.
When will we see the results on Docker Hub?

@DRoppelt
Copy link
Contributor

DRoppelt commented Mar 16, 2022

@gounthar you mean this one? https://hub.docker.com/_/eclipse-temurin?tab=tags&page=1&name=8-jdk-alpine

@gounthar
Copy link

gounthar commented Mar 16, 2022

Yes @DRoppelt , for all archs.

@gounthar
Copy link

gounthar commented Apr 4, 2022

Any news for archs different from linux/amd64?
Thanks.

@gounthar
Copy link

@karianna / @gdams I can see Adoptium supplies aarch64 Docker images (Ubuntu Focal, Centos 7), but I can't see any Alpine nor Debian images.
What is the blocking point?
How can I help?
Thanks.

@gdams
Copy link
Member

gdams commented May 12, 2022

@gounthar we're tracking Alpine in #158

There is currently no plan for Debian (see https://blog.adoptium.net/2021/08/using-jlink-in-dockerfiles/ for more information on how to copy the JDK into a base image of your choice)

@gounthar
Copy link

Thank you @gdams, I will follow the #158 too, and I'll have a look at the blogpost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants