Fork me on GitHub
Louis Kottmann14:11:50

@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:

Louis Kottmann14:11:44

the uberjar is created during the docker build

Louis Kottmann14:11:57

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)