Closed brianloss closed 2 years ago
There is a line in the readme that can be changed now. Can omit the version in the following line from the readme.
docker build --build-arg ACCUMULO_VERSION=2.0.0-SNAPSHOT --build-arg ACCUMULO_FILE=accumulo-2.0.0-SNAPSHOT-bin.tar.gz -t accumulo .
There is a line in the readme that can be changed now. Can omit the version in the following line from the readme.
docker build --build-arg ACCUMULO_VERSION=2.0.0-SNAPSHOT --build-arg ACCUMULO_FILE=accumulo-2.0.0-SNAPSHOT-bin.tar.gz -t accumulo .
Good catch. Will change...
Convert the existing Docker image into a multi-stage image with independent layers for the base, Hadoop, Zookeeper, and Accumulo tarball download/extraction (and native library build in the Accumulo case). By having each install come from a separate base image, we can modify the file/version for any of the packages and reuse the build cached for the others, which greatly improves build times for a developer who is iterating on Accumulo, for example. Also, by using a separate builder base, the larger JDK and make tools were installed to build the Accumulo native libraries, but then those tools are not included in the final image.