JanusGraph / janusgraph

JanusGraph: an open-source, distributed graph database
https://janusgraph.org
Other
5.2k stars 1.16k forks source link

halve docker image size #4527

Closed unautre closed 2 weeks ago

unautre commented 2 weeks ago

Hello,

The current docker image for janusgraph is huge. After analysis, it seems that the chown instruction here has the undesirable side effect of doubling the size of the docker image, because the whole janusgraph installation has changed owner and is then copied into the layer.

This PR makes use of the --chown flag of the Dockerfile COPY command, and should greatly decrease the size of the Janusgraph docker image.

janusgraph-automations commented 2 weeks ago

💚 All backports created successfully

Status Branch Result
✅ v1.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details