This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-04
Channels
- # admin-announcements (1)
- # adventofcode (98)
- # announcements (5)
- # asami (3)
- # babashka (24)
- # beginners (51)
- # bitcoin (3)
- # calva (24)
- # clj-kondo (73)
- # cljdoc (5)
- # cljs-dev (2)
- # clojure (15)
- # clojure-czech (3)
- # clojure-dev (27)
- # clojure-europe (7)
- # clojure-gamedev (1)
- # clojure-italy (2)
- # clojure-uk (1)
- # conjure (4)
- # cursive (18)
- # datahike (4)
- # datomic (3)
- # deps-new (7)
- # emacs (1)
- # events (10)
- # fulcro (5)
- # honeysql (4)
- # jackdaw (2)
- # java (13)
- # lsp (85)
- # meander (9)
- # membrane (1)
- # minecraft (1)
- # off-topic (45)
- # re-frame (16)
- # sql (17)
- # tools-deps (10)
- # vscode (9)
- # xtdb (8)
I'm learning about GitHub Actions at the moment. This https://github.com/tonsky/datascript/blob/master/.github/workflows/build_test.yml#L7 taught me that both java and lein are present on ubuntu-latest container. Mentioning as it might be worth petitioning to get the Clojure CLI tools on there too. Here's the details of what they have https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md (a lot).
Have you seen https://hub.docker.com/_/clojure/?
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
tools-deps: 'latest'
- name: Build the UberJAR
run: |
cd ${{ env.APPLICATION }}
clojure -T:build uberjar
@U11EL3P9U this is probably also of help to CircleCI users, since CircleCI has deprecated their clojure convenience docker image.
I'm using DeLaGuardo/setup-clojure for the first time. Seems great. Docker images are super useful too (esp. now I know about multi-stage builds). Perhaps these are superior in that we're in better control of what versions we're using. Less chance of stubbing toes on some old stable version of tools deps or feeling blocked when a bug isn't fixed or features slow to appear. Anyway, just wanted to get the topic on the radar of those who might care and be in a position to act.