This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-18
Channels
- # 100-days-of-code (6)
- # announcements (4)
- # beginners (126)
- # cider (49)
- # cljdoc (28)
- # cljsrn (3)
- # clojure (89)
- # clojure-dev (19)
- # clojure-greece (2)
- # clojure-italy (13)
- # clojure-mexico (1)
- # clojure-nl (13)
- # clojure-spec (108)
- # clojure-sweden (1)
- # clojure-uk (48)
- # clojurescript (31)
- # cloverage (3)
- # core-async (16)
- # cursive (28)
- # data-science (3)
- # datascript (1)
- # datomic (60)
- # defnpodcast (1)
- # docker (17)
- # editors (18)
- # emacs (16)
- # events (1)
- # figwheel (22)
- # figwheel-main (4)
- # graphql (26)
- # jobs (2)
- # off-topic (9)
- # om-next (2)
- # overtone (4)
- # perun (1)
- # re-frame (2)
- # reagent (18)
- # reitit (1)
- # ring-swagger (2)
- # shadow-cljs (2)
- # tools-deps (49)
- # uncomplicate (1)
- # unrepl (1)
- # vim (2)
do people building docker images for clojure do something to prevent downloading all dependencies on every build?
download common deps into a base image to use periodically?
hmm that might solve my private repository issue as well
for prod you just redownload for each build?
you build the uberjar outside the dockerfile and just copy it in?
or you don't use docker at all you mean?
gotcha
yeah i guess i'm building on circleci so i have a consistent build environment, building an uberjar and copying it into a docker image isn't terrible
Downloading the deps from prod is not good imho, ex you might need priv repo credentials etc
right that's what i'm trying to solve, i was going to just build the uberjar inside the docker file but for some insane reason passing anything sensitive at build time is like impossible in docker and also not redownloading all of .m2 would be nice