Clojure's official Docker images have some new releases for new versions of 
tools-deps, boot, and the JDK itself.


The following new Docker tags are now available (and all of the 
combinations you'd expect plus a few new ones I'll describe shortly):


- tools-deps-1.10.1.469

- boot-2.8.3

- openjdk-13

- openjdk-14


These releases were more delayed than we would have ideally liked because 
there were quite a few upstream changes in the openjdk images we build from.


One of the biggest changes to be aware of is that the upstream Alpine Linux 
OpenJDK images are generally deprecated and unsupported now (except for the 
JDK 14 early access, but even that is likely to go away when 14 is 
released), so our alpine-based images are deprecated except for the 
openjdk-14 ones (for now). They won't be deleted from Docker Hub right 
away, but they are unsupported and will not receive security nor version 
updates going forward. We apologize for the inconvenience, but the OpenJDK 
Project Portola needs volunteers to help test and maintain Alpine-based 
builds for these to become officially supported and trickle back down to 
Clojure images. See here for more information on that: 
https://openjdk.java.net/projects/portola/


We recommend migrating to the slim-buster images for now.


And on that note, we have added new Debian release code name tags as well, 
to better reflect the upstream openjdk images. The following tags (and 
combinations with other tags) are now available:


- openjdk-8-stretch: default; so you can omit -stretch if you want, but we 
recommend being explicit when possible

- openjdk-8-slim-buster: newer but you have to request it explicitly

- openjdk-11-stretch: default just like openjdk-8

- openjdk-11-slim-buster: newer but you have to request it explicitly

- openjdk-13-slim-buster: default for openjdk-13

- openjdk-13-buster

- openjdk-14-slim-buster: default for openjdk-14

- openjdk-14-buster

- openjdk-14-alpine


Another important change to be aware of is that, starting now and going 
forward, the default JDK version you'll get in tags that don't specify a 
particular version will be the latest LTS release, which is currently JDK 
11. When the next LTS is released (currently planned to be JDK 17 in 2021), 
we will switch to that. If you want to stay on JDK 8, you'll need prefix 
whatever image tag you're using with "openjdk-8-". But we encourage 
everyone to test on and migrate to OpenJDK 11 soon, and to specify that in 
your tags too (i.e. "openjdk-11-[lein/boot/tools-deps]") so you can control 
when you move to the next LTS release down the road.


This brings me to one more change I want to highlight: The "latest" tag 
(which is what you get when you don't specify a tag at all) is now moving 
to the latest LTS JDK release (currently 11) on the latest slim Debian 
release (currently slim-buster) with the latest leiningen release 
(currently 2.9.1). So as of now the images "clojure" and "clojure:latest" 
are equivalent to "clojure:openjdk-11-lein-2.9.1-slim-buster". One 
consequence of this is that you may have to install more system packages 
than you're used to due to the switch to slim-buster.


See here for all of the new tags that are available now: 
https://hub.docker.com/_/clojure?tab=tags


And in case you didn't know, the official clojure Docker images are built 
via a Clojure project which is hosted here: 
https://github.com/Quantisan/docker-clojure. If there are things you'd like 
to see added or changed, pitch in!


Let me know if you have any questions, and happy Clojuring (on Docker)!

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/c3d5f99c-27ee-4e8b-ba4e-a746623f9769%40googlegroups.com.

Reply via email to