marathon icon indicating copy to clipboard operation
marathon copied to clipboard

docker image is having outdated java

Open f1-outsourcing opened this issue 4 years ago • 5 comments

When trying to solve this issue[1] I noticed that your docker image is having an outdated java 1.8.222, current one is 1.8.0.252 which is from Apr 29. That is from before the docker image is published. So I guess you do not have an update packages in your Dockerfile

root@86f43fc6568a:/marathon# java -version openjdk version "1.8.0_222" OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1~deb9u1-b10) OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

[1] https://github.com/mesosphere/marathon/issues/7136

f1-outsourcing avatar Jul 18 '20 15:07 f1-outsourcing

This dependency gets bumped manually from time to time for repeatable builds. But, we should probably target a moving tag, so that it always pulls the latest. I think its unlikely that a patch Java bump would cause a regression in the docker image is low.

timcharper avatar Jul 21 '20 16:07 timcharper

(also it is due time to get off of Java 1.8!)

timcharper avatar Jul 21 '20 16:07 timcharper

I am using 1.8 because you are using 1.8

f1-outsourcing avatar Jul 21 '20 16:07 f1-outsourcing

I don't get it to build against 1.11

f1-outsourcing avatar Jul 21 '20 19:07 f1-outsourcing

@timcharper

I was just about to give this new csi option a try with mesos, and because I cannot find a release here. I thought I will maybe get your a docker image. But I noticed that you are still using there 1.8

root@test2:/marathon# java -version openjdk version "1.8.0_272" OpenJDK Runtime Environment (build 1.8.0_272-8u272-b10-0+deb9u1-b10) OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)

f1-outsourcing avatar Dec 12 '20 14:12 f1-outsourcing