Closed dathdev closed 4 years ago
Duplicate of https://github.com/docker-library/openjdk/issues/399
We don't maintain an openjdk:10
or openjdk:9
version https://github.com/docker-library/openjdk/pull/254
This is our support matrix of OpenJDK versions/variants: https://github.com/docker-library/openjdk/issues/272
Using an image that we do support I'm not able to reproduce
I see. Thanks for the reply.
Hi, I have a Dockerfile that uses
openjdk:10-jre-slim
as the source image. First thing it does isapt update
andapt install -y curl
, but it fails with this error:I tried running
apt update && apt install -r curl
on an interactive container, it fails with the same error and I can't find a way around this.Edit: it works on openjdk:11-jre-slim and fails on openjdk:9-jre-slim. The difference I'm seeing is the apt repositories on the update step, so I'm guessing 9 and 10 are using unstable repositories?
Edit2: I tried copying the
etc/apt/sources.list
file from 11 to 9 and 10 and they worked perfectly. But I think this is still something worth addressing as we shouldn't use unstable repositories in official images.