Closed BoraxTheClean closed 2 years ago
Downgrading to amd64/gradle:7.4.1-jdk17
resolved this for us. That tag hasn't been pushed to in 2 months.
There appears to have been some issue earlier where Temurin pushed a broken image, that caused a new (also broken) gradle image to be pushed. Can you check if this is still happening? It appears to be fixed now to me.
Thanks-I can check on Tuesday.
They recently updated the tag I used as my base image from Focal to Jammy. But I was able to install a package with the current image (Jammy). It's possible it worked on your M1 because of timing differences in the Jenkins builds that push the different architecture images.
For whichever maintainer hopefully reads this: tags should not be updated like this. If the desire is to back-port prior images to use Jammy, the tag should be incremented or altered (ex. -jammy
suffix) so as to leave existing usages undisturbed.
I didn't explicitly make this upgrade. This was built automatically by the Docker Library build system. But I didn't have -focal
in my FROM
, which maybe I should have.
Is there a need for me to publish both focal and jammy variants? Or is it sufficient to use whatever is the latest eclipse-temurin
8-jdk
/11-jdk
/17-jdk
/etc?
Actually, given all the problems people have been having, I think I will need to publish both a focal and a jammy version until this can all get sorted. out. My plan is the tag without the -focal
or -jammy
will point to whatever the latest LTS is, and there will be tags for specific LTS versions so you can use those if you need to pin to a particular Ubuntu version.
I'm working on getting -focal
variants added: https://github.com/docker-library/official-images/pull/12543.
I didn't anticipate so much trouble coming from Temurin's Ubuntu upgrade. I apologize for the inconvenience.
There appears to have been some issue earlier where Temurin pushed a broken image, that caused a new (also broken) gradle image to be pushed. Can you check if this is still happening? It appears to be fixed now to me.
The issue persist for me for the image amd64/gradle:7.4.2-jdk17@sha256:e2c77685fb487b109de4de2e305187d203189572aae56550de2ac3c05a3c4df6
.
HugOps ❤️
The Focal images are now available. Let me know if there still issues and I'll reopen this issue.
This issue has come up so frequently (#221, #222, #223, #224, #226, #227, #230, #231), I've created a page explaining: https://github.com/keeganwitt/docker-gradle/wiki/Troubleshooting:-JAVA_HOME-is-set-to-an-invalid-directory. Please let me know how the page can be improved.
I am experiencing this issue on my build nodes, running in a docker-compose environment:
It is worth noting that I don't experience this same issue when building on my m1 laptop.