This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-02
Channels
- # announcements (37)
- # babashka (9)
- # beginners (172)
- # calva (7)
- # cestmeetup (28)
- # chlorine-clover (27)
- # clj-kondo (2)
- # cljs-dev (45)
- # cljsrn (8)
- # clojure (185)
- # clojure-dev (27)
- # clojure-europe (6)
- # clojure-finland (3)
- # clojure-nl (5)
- # clojure-uk (13)
- # clojuredesign-podcast (4)
- # clojurescript (54)
- # conjure (19)
- # core-typed (1)
- # cursive (40)
- # datomic (9)
- # emacs (5)
- # figwheel-main (34)
- # fulcro (238)
- # graphql (14)
- # hugsql (3)
- # leiningen (4)
- # malli (6)
- # off-topic (12)
- # pedestal (5)
- # portkey (19)
- # protorepl (8)
- # rdf (2)
- # re-frame (23)
- # reagent (3)
- # reitit (16)
- # shadow-cljs (29)
- # spacemacs (12)
- # sql (1)
- # xtdb (15)
For some reason my docker file with lein uberjar in it gives the following error on a push
Enumerating objects: 1986, done.
Counting objects: 100% (1984/1984), done.
Delta compression using up to 16 threads
Compressing objects: 100% (1901/1901), done.
Writing objects: 100% (1942/1942), 28.23 MiB | 1.87 MiB/s, done.
Total 1942 (delta 646), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: === Fetching app code
remote:
remote: === Building web (Dockerfile)
remote:
remote: =!= Dockerfile parse error line 40: unknown instruction: LEIN
remote: Verifying deploy...
remote:
remote: ! Push rejected to vendomarch.
remote:
To
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ''
I’d guess the lein
tool isn’t available in your Docker build environment, reason for that is entirely dependent on your project setup though. There’s a longer argument to be had (and it’d be an argument, not really a discussion) about the pros and cons of building inside Docker itself which, again, is dependent on your project setup. So with this information it’s quite hard to say anything conclusive 🙂