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 Dec 5, 2022. It is now read-only.
There's a problem in building docker image when using project template:
lein-scm-source creates scm-source.json in target dir. In project.clj target-path is set to target/%s so the location of the file is something like target/base+system+user+dev/scm-source.json
Dockerfile expects scm-source.json to be in the root of the project
I guess the obvious fix is to change lein-scm-source to generate in project root instead, or make it configurable and preconfigure it in the template. I am happy to provide a PR if you think this is the correct fix.
The text was updated successfully, but these errors were encountered:
This is more a ticket for lein-scm-source I think (so it can generate .scm in current dir). Alternatively Dockerfile can be generated on demand but It looks like unnecessarily complex solution.
Another way to fix this (suggested by @dryewo): modify template project.clj to include alias scm-source for lein with-profile uberjar scm-source. Then the file would be generated in target/uberjar and we can change the path in Dockerfile to target/uberjar/scm-source.json.
There's a problem in building docker image when using project template:
target/%s
so the location of the file is something liketarget/base+system+user+dev/scm-source.json
I guess the obvious fix is to change lein-scm-source to generate in project root instead, or make it configurable and preconfigure it in the template. I am happy to provide a PR if you think this is the correct fix.
The text was updated successfully, but these errors were encountered: