This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-14
Channels
- # announcements (13)
- # aws (2)
- # babashka (17)
- # beginners (80)
- # biff (10)
- # cljs-dev (51)
- # cljsrn (6)
- # clojure (42)
- # clojure-australia (9)
- # clojure-boston (2)
- # clojure-europe (17)
- # clojure-sweden (3)
- # clojure-uk (53)
- # clojurescript (44)
- # code-reviews (2)
- # core-async (5)
- # cryogen (3)
- # cursive (32)
- # datahike (1)
- # datomic (11)
- # events (1)
- # fulcro (22)
- # helix (3)
- # honeysql (3)
- # leiningen (4)
- # lsp (30)
- # luminus (13)
- # malli (5)
- # off-topic (115)
- # other-languages (5)
- # pathom (10)
- # polylith (23)
- # re-frame (24)
- # reagent (10)
- # releases (2)
- # shadow-cljs (124)
hello. I'm looking for a path to pragmatically build up a :dependencies vector from several edn-encoded files external to projects.clj. Is this the correct context where a lein plugin would be appropriate?
a. git clone repo with project
b. git clone repo with supplemental code
c. merge :dependencies from defproject in a. plus :dependencies from b.
d. execute lein :profile directives (uberjar, ...)
is there an easy way to run leiningen in a docker container?
there are containers designed for this - I tend to avoid it outside the specific case of CI / build cluster setup, because an uberjar plus java plus clojure.main as an entry point gives great flexibility, with smaller startup and a smaller image size I use lein to build the uberjar, then put the ubarjar plus a jvm (no jdk needed) in a container
for starters, using lein inside a docker container to run an app means running a build tool inside your prod server, which is "unhygeinic"