You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
Good catch, it seems like something has changed in the latest clojure image (released a couple of weeks ago). Maybe the example is no longer compatible with recent clojure build system.
You could lock down the Dockerfile to 2.8.3 of lein and it will work.
Update to use clojure:lein-2.8.3 instead of clojure as build image.
Tried this out myself with success
1) Compatibility issue: lein-ring and latest leiningen
```
clojure.lang.Compiler$CompilerException: Syntax error macroexpanding clojure.core/fn at (clojure/core/unify.clj:83:18).
```
`lein-ring` seems to be uncompatible with Leiningen 2.9.0 and above.
Similar issues:
* https://github.com/Azure/draft/issues/932
* https://translate.google.com/translate?hl=en&sl=zh-CN&u=https://xbuba.com/questions/54810552&prev=search
2) Incorrect lein-ring handler
lein-ring had a wrong reference, but even if it was correct it should to be a handler not a fn.
Since evaluation of app at boot doesn't seem to be harmful, I let myself to change it.
The text was updated successfully, but these errors were encountered: