I am facing some problem when trying to install openjdk-8 in the flex environment.
Our setup is to use jetty9-compat runtime with openjdk-8 (We install jdk to do dynamic compilation). The setup was working fine till about 2-3 days back.
Now when I try to install I get the following error:
The following packages have unmet dependencies:
openjdk-8-jdk : Depends: openjdk-8-jre (= 8u121-b13-1~bpo8+1) but 8u111-b14-2~bpo8+1 is to be installed
Depends: openjdk-8-jdk-headless (= 8u121-b13-1~bpo8+1) but it is not going to be installed
Our dockerfile is:
FROM gcr.io/google_appengine/jetty9-compat
RUN apt-get -q update && \
apt-get -y -q --no-install-recommends install openjdk-8-jdk && \
apt-get clean && \
rm /var/lib/apt/lists/*_*
ADD . /app
apt-get -y -q --no-install-recommends install -t stable openjdk-8-jdk && \
apt-get -y -q --no-install-recommends install openjdk-8-jdk-headless=8u121-b13-1~bpo8+1 && \E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources
For jessie add this line
deb http://ftp.debian.org/debian jessie-backports mainto your sources.list (or add a new file with the ".list" extension to /etc/apt/sources.list.d/) You can also find a list of other mirrors athttps://www.debian.org/mirror/list
Run apt-get update
Hey Vinay I did try your comand but it doesn't work for me I'm getting this errorE: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources
FROM gcr.io/google_appengine/jetty9-compat
RUN apt-get -q update && \
apt-get -y -q --no-install-recommends -t jessie-backports install openjdk-8-jdk && \