Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

old bash and tar in JDK 13 vs JDK 11 #374

Closed
pjungermann opened this issue Nov 21, 2019 · 1 comment
Closed

old bash and tar in JDK 13 vs JDK 11 #374

pjungermann opened this issue Nov 21, 2019 · 1 comment
Labels
question Usability question, not directly related to an error with the image

Comments

@pjungermann
Copy link

openjdk:11-jdk — tar: version 1.29 (2015), bash 4.4.12(1)-release (2016)
openjdk:13-jdk — tar: version 1.26 (2011), bash 4.2.46(2)-release (2011)

openjdk:13-jdk-slim has more up-to-date ones, but is also based on debian:buster-slim

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Nov 25, 2019
@wglambert
Copy link

The tag openjdk:13-jdk uses Oracle Linux 7 as the default https://github.com/docker-library/openjdk/blob/0a1e59a9fbc4f2cabaef69d9fede0ffe283dc431/13/jdk/oracle/Dockerfile
See issue #212, PR #235, and reference sheet #272
And the image tags https://github.com/docker-library/docs/tree/master/openjdk#simple-tags

openjdk:11-jdk uses Debian Stretch by default and doesn't have Oracle variants
Debian variants for the Oracle-consuming variants were re-added in #355, having been non-existent previously as there were no Debian packages on stable(Stretch or Buster) for 12+ #302 (comment)

So you can also specify openjdk:13-jdk-buster which has Bash 5.0.3(1) and Tar 1.30

$ docker run -it --rm openjdk:13-jdk-buster bash

root@fd7d9c6fe378:/# bash -version
GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

root@fd7d9c6fe378:/# tar --version
tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

2 participants