Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I cache dependencies for Jira run in Docker?

Egor Erofeev July 24, 2018

Hello, 

I'm build Jira in Docker container using this image: 

https://github.com/codeclou/docker-atlassian-sdk

Jenkins command: 

atlas-run-standalone --version 7.9.0 --product jira --http-port 2990
--server 0.0.0.0 --jvmargs -Xmx2024M -DskipAllPrompts=true

A huge amount of dependencies are downloaded every time it runs, it lasts for approximately 5 minutes or so, other components are built much faster.

Could I somehow tweak/cache  dependencies to not need to wait Jira's downloading them every time I start Jenkins build?

Any advises will be appreciated, 

Best Regards.

1 answer

0 votes
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 5, 2018

Hi @Egor Erofeev,

By using a shared volume. 

docker volume create atlas-data

docker run -v atlas-data:/opt/atlas

This is assuming all data by atlas-run-standalone is being saved under /opt/atlas

Suggest an answer

Log in or Sign up to answer