How to cache maven artifacts when using Docker?

Hello,

I have a maven project which I am building inside a docker container using the "Run step within Docker container" option, however all its dependencies are downloaded each time the build runs.

How can I cache the artifacts?

I have tried the "Use own local artifact repository" option to no avail.

Thanks!

1 comment

For anyone else interested, the issue is being addressed here: https://youtrack.jetbrains.com/issue/TW-58623

0

Please sign in to leave a comment.