This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-20
Channels
- # adventofcode (1)
- # announcements (2)
- # babashka (81)
- # beginners (33)
- # calva (11)
- # circleci (4)
- # clj-commons (3)
- # cljdoc (7)
- # clojars (5)
- # clojure (21)
- # clojure-europe (5)
- # clojure-japan (1)
- # clojure-norway (27)
- # clojurescript (24)
- # emacs (11)
- # events (5)
- # fulcro (14)
- # lsp (40)
- # malli (9)
- # nbb (1)
- # off-topic (5)
- # portal (4)
- # reitit (8)
- # scittle (9)
- # shadow-cljs (14)
- # spacemacs (3)
- # tools-deps (3)
What is a better image for a newer version of node / npm? Right now I'm using circleci/clojure:openjdk-11-lein-2.9.3-buster-node and I'm trying to upgrade npm from within that image which takes long. https://app.circleci.com/pipelines/github/babashka/nbb/1003/workflows/61769382-cc3f-4199-a44d-133c70e48647/jobs/901
The newer circleci convenience images fall under https://hub.docker.com/r/cimg/clojure. I'm not sure if they support as many flavors as the legacy versions. Example:
$ docker run -i -t cimg/clojure:1.11.1-node
circleci@9877d9b6f929:~/project$ node --version
v16.14.2
circleci@9877d9b6f929:~/project$ npm --version
8.5.0
circleci@9877d9b6f929:~/project$ java --version
openjdk 17.0.2 2022-01-18
OpenJDK Runtime Environment Temurin-17.0.2+8 (build 17.0.2+8)
OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode, sharing)
👍 1