@jarvinenemil I'm a DevOps and here's how I do build & cache for Docker images:
- use :local-repo "vendor/m2"
in lein
- that build script:
the uberjar is created during the docker build
generally speaking, you want the dependency fetching & artifact building to be done inside the resulting docker image during its build, that way you do not get bitten by platform differences (between host and FROM
image)