This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-25
Channels
- # announcements (3)
- # beginners (64)
- # calva (1)
- # cider (78)
- # clj-kondo (4)
- # clojure-losangeles (1)
- # clojure-uk (5)
- # clojuredesign-podcast (1)
- # clojurescript (15)
- # cursive (2)
- # datomic (19)
- # docker (7)
- # fulcro (17)
- # graalvm (1)
- # hugsql (1)
- # instaparse (2)
- # jobs-discuss (25)
- # joker (2)
- # luminus (1)
- # off-topic (20)
- # pathom (1)
- # pedestal (2)
- # reagent (5)
- # shadow-cljs (83)
- # spacemacs (11)
- # vim (1)
- # vscode (13)
Does somebody know a way to install all lein dependencies? I’m trying to run my clojure app in a docker container and I’m trying to cache the installation of all dependencies. I’m using lein deps
to download all dependencies, however this installs only the entries from :dependencies
and nothing from :plugins
which will be installed when starting the app …
I need the plugins so I can use lein ring server-headless
in docker-compose for development so I get the code reloading
@christian.paling maybe add the plugin to a dev
profile and use a prod
profile to deploy it?
lein deps should work with a profile
Basically what I’m doing is: Dockerfile --> builds an uberjar which I can then deploy docker-compose.yml --> uses lein ring server for comfortable development
if i understand it correctly you would have a dockerfile with lein ring server-headless
as the entrypoint? and this would be used as a service in your compose file? this means you need another dockerfile for development?