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.
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 DockerfileCOPY
command, and should greatly decrease the size of the Janusgraph docker image.