Manifest for java:8-jre-alpine not found: manifest unknown: manifest unknown

Viewed 2185

I'm facing this error while building on Ubuntu server:

Step 1/10 : FROM java:8-jre-alpine

ERROR: Service 'XXXX' failed to build: manifest for java:8-jre-alpine not found: manifest unknown: manifest unknown

It was working fine since months, suddenly now its not working. What could be the reason?

4 Answers

I change java:8 to openjdk:8 and it works.

The issue could appear due to deprecation of java image:

enter image description here

amazoncorretto:8-alpine or openjdk:8-alpine will be a good replacement.

I change java:8 to amazoncorretto:8 and now it works.

openjdk:8 or amazoncorretto:8 work for me. Thanks

Related