Skip to content

openjdk issue during node:latest build #14851

@lucasalvessouza

Description

@lucasalvessouza

Using node:latest, I've start to receive the following error, when I try to install openjdk-11-jdk during the docker build:

E: Unable to locate package openjdk-11-jdk

My dockerfile is something like:

FROM node:latest
.....
RUN apt-get update && \
    apt-get install -y openjdk-11-jdk ca-certificates-java && \
    apt-get clean && \
    update-ca-certificates -f
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
RUN export JAVA_HOME

....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions