keith-turner commented on PR #20: URL: https://github.com/apache/accumulo-docker/pull/20#issuecomment-1250970667
> Simply splitting the RUN command into multiple run commands might achieve what you want. That might work. I was wondering how docker decides that it can reuse a cached layer, i looked and found the following. https://medium.com/swlh/docker-caching-introduction-to-docker-layers-84f20c48060a https://stackoverflow.com/questions/60578670/why-does-docker-rebuild-all-layers-every-time-i-change-build-args Based on those, it seems like it will really matter when accumulo is copied in. Going to try the following in the build file. 1. copy hadoop and ZK in 2. run to install jdk, other stuff,hadoop, and ZK 3. copy accumulo in 4. run to install accumulo so hopefully if only accumulo changes then it will only rerun 3 and 4. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
