d2iq-archive / marathon

Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
https://mesosphere.github.io/marathon/
Apache License 2.0
4.07k stars 843 forks source link

docker image is having outdated java #7199

Open f1-outsourcing opened 4 years ago

f1-outsourcing commented 4 years ago

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

timcharper commented 4 years ago

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 commented 4 years ago

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

f1-outsourcing commented 4 years ago

I am using 1.8 because you are using 1.8

f1-outsourcing commented 4 years ago

I don't get it to build against 1.11

f1-outsourcing commented 3 years ago

@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)