[
https://issues.apache.org/jira/browse/AVRO-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16684891#comment-16684891
]
ASF GitHub Bot commented on AVRO-2238:
--------------------------------------
Fokko commented on issue #378: [WIP] AVRO-2238 Update Dockerfile base image
from java to openjdk
URL: https://github.com/apache/avro/pull/378#issuecomment-438183369
Hi @thiru-apache
I don't think you're doing anything wrong. The thing is that the old base
image, is really old.
The new openjdk images is build on top of a newer version of Debian:
```
MacBook-Pro-van-Fokko:avro fokkodriesprong$ docker run -t -i java:8-jdk bash
root@9fd273407ac9:/# cat /etc/debian_version
8.7
MacBook-Pro-van-Fokko:avro fokkodriesprong$ docker run -t -i openjdk:8 bash
root@ef91dc01b7bd:/# cat /etc/debian_version
9.5
```
Where:
- Debian 9 (stretch) — current stable release
- Debian 8 (jessie) — obsolete stable release
With updating to Debian 9 we also get newer versions from Perl, Python,
Javascript etc. So we need to check how much effort it is to fix this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Update Docker image from java to openjdk
> ----------------------------------------
>
> Key: AVRO-2238
> URL: https://issues.apache.org/jira/browse/AVRO-2238
> Project: Apache Avro
> Issue Type: Improvement
> Components: docker
> Reporter: Fokko Driesprong
> Priority: Major
>
> Currently the docker image to run the tests is still using java which is
> deprecated: https://hub.docker.com/_/java/
> Therefore we should move to openjdk (https://hub.docker.com/_/openjdk/).
> Starting with version 8, and also adding 10 and 11 to it to make sure that
> Avro is compatible with future version of Java.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)