Multi-arch docker image support with Dockerfile refactor
requested to merge tpo/anti-censorship/connectivity-measurement/probeobserver:dev-multiarch into main
This merge request adds a reworked Dockerfile that supports amd64/arm64/arm32v7. This is a multi-arch, multi-stage build script that supports more platforms natively and reduce the final asset size for easier deployment.
Things to look at:
- The location to put
bridge_lines.txt
have been changed. - The size of the final image has been reduced from 814MB to 301MB.
- This fixes packet capture issues when running non-native images.
This version of image is available for testing with
docker pull ghcr.io/xiaokangwang/probetest:latest