docker

cap10morgan 2022-10-03T16:36:44.878149Z

Going to announce this in the clojure Google Group shortly: There are now Debian-based variants of the official clojure images up on Docker Hub. These are still using Eclipse Temurin builds of OpenJDK, just w/ the java bits copied from those images (which are Ubuntu-based) into the official Debian images. They are probably the better default starting place for your downstream images than the Ubuntu-based ones b/c you won't run into packages replaced with snaps you can't install. But they are new, so let me know if you run into any issues. You get to these by replacing -jammy or -focal with -bullseye or -bullseye-slim in your tags. I'm leaving -jammy as the default for now to minimize breakage, but I don't recommend staying on the Ubuntu images.

blak3mill3r 2022-10-16T04:23:08.250609Z

Glad to hear this. Thanks @cap10morgan.

👍 1
Drew Verlee 2022-10-05T08:25:17.416209Z

I don't understand the bit about snaps. Whats an example of a package replaced by a snap? Why wouldn't i be able to install a snap?

cap10morgan 2022-10-06T22:40:21.254629Z

Example: chromium-browser (useful for frontend CLJS tests) Try to install a snap in a Docker container. If you succeed please let me know how you did it! :)

Drew Verlee 2022-10-06T23:01:35.218169Z

Ubuntu doesn't force snaps though, there just another option right?

cap10morgan 2022-10-06T23:02:09.975239Z

Try to install that package without a snap

cap10morgan 2022-10-06T23:03:18.820249Z

It will succeed with apt, and then when you run it will say “you have to install this with ‘snap install chromium-browser’” or similar

cap10morgan 2022-10-06T23:03:36.280219Z

Believe me, I tried and Googled. A lot. 😆

cap10morgan 2022-10-06T23:04:06.248659Z

But let me know if you succeed where I failed! It’s still too much effort either way. Back to Debian!

Drew Verlee 2022-10-06T23:04:17.118619Z

Really, odd. I feel i installed it on my personal ubuntu desktop without a snap.

Drew Verlee 2022-10-06T23:04:57.744219Z

Mostly surprised Ubuntu would compromise there growth in that way.

cap10morgan 2022-10-06T23:05:27.662239Z

Depends on the version. Focal and Jammy require the snap. Otherwise there’s a chromium beta PPA. No thanks for running tests (every failure would beg the question: “beta browser or broken code?”)

cap10morgan 2022-10-06T23:05:47.217569Z

Me too! And saddened! I was a big Ubuntu fan for many years…