Finn Völkel / Dec 07 2021
Clojure CLI + Babashka
This notebook creates docker image with the Clojure CLI and Babashka installed.
Install the one missing dependency, rlwrap, as well as git.
apt-get -qq updateDEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends \  rlwrapapt-get cleanrm -rf /var/lib/apt/lists/*6.9s
Next, download and run the Clojure CLI installer.
echo ${CLOJURE_VERSION}0.5s
wget -q --show-progress --progress=bar:force -P . \  https://download.clojure.org/install/linux-install-${CLOJURE_VERSION}.sh0.8s
/bin/bash ./linux-install-${CLOJURE_VERSION}.sh1.0s
rm ./linux-install-${CLOJURE_VERSION}.sh0.2s
Test clojure from the command line.
clojure -e "(clojure-version)"5.5s
Install the latest babashka
curl -sLO https://raw.githubusercontent.com/babashka/babashka/master/installchmod +x install./install3.6s
rm install0.2s
Test babashka from the command line.
bb -e "(System/getProperty \"babashka.version\")"0.7s