This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-15
Channels
- # arachne (6)
- # aws-lambda (3)
- # beginners (14)
- # boot (56)
- # cider (8)
- # cljs-dev (5)
- # cljsrn (11)
- # clojure (240)
- # clojure-dusseldorf (3)
- # clojure-greece (165)
- # clojure-italy (5)
- # clojure-romania (1)
- # clojure-russia (24)
- # clojure-uk (30)
- # clojure-ukraine (3)
- # clojurescript (29)
- # core-async (6)
- # css (1)
- # cursive (25)
- # datascript (6)
- # datomic (61)
- # dirac (1)
- # events (3)
- # hoplon (1)
- # instaparse (3)
- # jobs (4)
- # juxt (28)
- # lein-figwheel (7)
- # leiningen (19)
- # luminus (1)
- # lumo (2)
- # nyc (1)
- # off-topic (19)
- # om (25)
- # onyx (4)
- # parinfer (2)
- # pedestal (23)
- # perun (20)
- # re-frame (44)
- # reagent (20)
- # remote-jobs (3)
- # ring (3)
- # ring-swagger (5)
- # rum (12)
- # slack-help (3)
- # spacemacs (25)
- # specter (62)
- # sql (16)
- # unrepl (313)
- # yada (4)
when I invoke lein inside a docker container, it just freezes with no output... even lein clean
just hangs... anything I can do to diagnose further?
@timothypratley Have you tried to docker exec -it
? http://askubuntu.com/a/507009/507732
yup... I can run java/clojure fine that way, but invoking lein just hangs
I guess it's trying to do something it cant do hehehehe
root@fa6833805452:/src# java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-1~bpo8+1-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
root@fa6833805452:/src# java -classpath ~/.lein/self-installs/leiningen-2.7.1-standalone.jar clojure.main
Clojure 1.8.0
user=>
it's something project specific, because lein --version
does work in a different directory (without the project.clj)
root@fa6833805452:/# lein --version
Leiningen 2.7.1 on Java 1.8.0_121 OpenJDK 64-Bit Server VM
aha, it doesn't like my plugins 😞
commenting them out resolves it:
#_#_ :plugins [[lein-ring "0.9.6"]
[lein-maven-s3-wagon "0.2.5"]]
not sure why it hates them.
I can curl internet pages, but lein still can't run or compile anything, just print the version now 🙂
yup lein deps
still freezes. I'm sure it is something about my container setup, but no obvious clues what yet.
this deploy-repositories
config in project.clj appears to work:
:deploy-repositories [["releases" {:url " "
:username [:gpg :env/nexus_user]
:password [:gpg :env/nexus_pass]}]
["snapshots" {:url " "
:username [:gpg :env/nexus_user]
:password [:gpg :env/nexus_pass]}]]
but it gives warnings on any lein task:
([:gpg :env/nexus_pass] and :gpg have a type mismatch merging profiles.)
([:gpg :env/nexus_user] and :gpg have a type mismatch merging profiles.)
([:gpg :env/nexus_pass] and :gpg have a type mismatch merging profiles.)
([:gpg :env/nexus_user] and :gpg have a type mismatch merging profiles.)
any way to avoid this? am i using deploy-repositories incorrectly?