Arm64v8 update (i.e. for Raspberry Pi 3 clusters) #121
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[This is resubmitting pull request #111 from July in its own "arm64v8-update" branch, and current updates. Since the original PR didn't go in as quickly as I thought it would, it needed its own branch to keep it up to date.]
The reason for this PR is because the "Dockerfile.aarch64" is based on aarch64/node:4.6.0-slim which is marked as deprecated on its description, both for the aarch64 architecture (replaced by arm64v8) and severely out-of-date node 4.6 from 2016 with unreliable backward-compatibility support in current npms. Let's update this to catch up with the Dockerfile in the same directory.
I'm submitting changes I made to get the Swarm Visualizer to work on a Raspberry Pi 3 cluster. Docker's docs say the aarch64 architecture is deprecated in favor of arm64v8. Also, the old Dockerfile.aarch64 hasn't kept up with changes to the primary Dockerfile, which when applied reduced the image size from 341MB to 157MB.
The changes in this PR are: 1) rename Dockerfile.aarch64 to Dockerfile.arm64v8, 2) update Dockerfile.arm64v8 with changes that have been made to Dockerfile, 3) update the README.md to describe this option for ARM64. A change since July is that it now uses node 8.12 instead of 8.11 to pick up current security patches.
I have a build of this available at https://hub.docker.com/r/ikluft/visualizer-arm64v8/