This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-01
Channels
- # announcements (8)
- # aws (8)
- # babashka (21)
- # beginners (125)
- # calva (12)
- # cider (10)
- # circleci (29)
- # clara (6)
- # clj-kondo (34)
- # cljdoc (3)
- # cljfx (65)
- # cljs-dev (18)
- # clojure (38)
- # clojure-australia (4)
- # clojure-berlin (5)
- # clojure-czech (2)
- # clojure-dev (15)
- # clojure-europe (22)
- # clojure-nl (3)
- # clojure-uk (31)
- # clojuredesign-podcast (7)
- # clojurescript (87)
- # code-reviews (1)
- # conjure (3)
- # cursive (2)
- # data-science (1)
- # datalog (1)
- # datomic (36)
- # emacs (12)
- # events (1)
- # fulcro (3)
- # graalvm (68)
- # instaparse (2)
- # jackdaw (2)
- # jobs (2)
- # leiningen (8)
- # luminus (2)
- # nrepl (31)
- # pedestal (44)
- # releases (1)
- # remote-jobs (6)
- # shadow-cljs (4)
- # spacemacs (4)
- # sql (13)
- # tools-deps (56)
- # uncomplicate (4)
- # xtdb (40)
- # yada (11)
building docker images requires a VM under the hood, there’s 2 ways to do this: via machine
executor, or via the setup_remote_docker
step in the docker
executor. The latter spins up a remote VM and connects you to the docker socket
the setup_remote_docker
step has an optional version number - and defaults to a very old version
@glenjamin Hmm yes, I have this in my clj-kondo config:
docker:
docker:
- image: circleci/buildpack-deps:stretch
steps:
- checkout
- setup_remote_docker
- run:
name: Build Docker image
command: .circleci/script/docker
I set this up about 1.5 year ago. What's the best way to do this now? I don't have a preference
some people prefer a fixed version, some prefer “gimme latest”, and we don’t know who is who
can I also fill in: version: latest, so it'll always use the latest and I never have to think about it again? :)
in general that’s problematic, because when we change it some percentage of builds break and we get a bunch of support tickets
the team which sent it is iterating on the copy in the discuss post, but annoyingly emails are static 😄
https://discuss.circleci.com/t/old-linux-machine-image-remote-docker-deprecation/37572
I've got this in my config:
docker:
docker:
- image: circleci/buildpack-deps:stretch
steps:
- checkout
- setup_remote_docker:
version: 19.03.12
- run:
name: Build Docker image
command: .circleci/script/docker
Yet I see
Build-agent version 1.0.40344-226c2ebb (2020-10-01T12:44:53+0000)
Docker Engine Version: 18.09.6
in the build: https://app.circleci.com/pipelines/github/borkdude/clj-kondo/2941/workflows/f58c8d15-78d2-4417-873e-f38e89fcc418/jobs/11132