cptactionhank / docker-atlassian-jira

Atlassian JIRA Core wrapped in a Docker image
https://cptactionhank.github.io/docker-atlassian-jira
MIT License
621 stars 248 forks source link

Remove VOLUME tag from Dockerfile #101

Open weickmanna opened 5 years ago

weickmanna commented 5 years ago

Our use case: Prepare Jira image with data so it can be used for integration testing.

We now opted to copy the entire Dockerfile, as well as docker-entrypoint.sh into our own repository. Since we anyway need to store our own images with the data, it's not a huge problem for us. But it would be unnecessary and others might run into the same problem ...

Achimh3011 commented 5 years ago

Why don't you wrap docker-compose around docker?

weickmanna commented 4 years ago

Hi @Achimh3011

we use the docker image to perform manual tests as well as integration tests for our software. "Fully loaded" images are intended to be shared within the team, so that everyone can quickly and easily setup a test environment. The same image is also used in the automated integration test pipeline.

We can do with volumes as well, but this requires us to manage the data (which changes infrequently over time) separately with the volume. Then we need to solve following things:

It's all possible, but it seems a lot of unnecessary work ...