EBIvariation / vcf-validator

Validation suite for Variant Call Format (VCF) files, implemented using C++11
Apache License 2.0
129 stars 39 forks source link

Add Dockerized build for amd64/arm64 architectures #221

Open dougdonohoe opened 1 year ago

dougdonohoe commented 1 year ago

At my current job, we use the Linux build of vcf_validator in Docker. This is a limitation because the image is for the amd64 architecture, and with the advent of Apple Silicon, we need arm64 images for the M1 /M2 chipset.

After much trial and error, I managed to get a Dockerized build working.

There are some notable changes from simply using install_dependencies.sh:

Contributing this as it may be useful to someone else.

One can test out my image:

docker pull dougdonohoe/vcf-validator:0.9.4

I updated the README.md with more detail and example usage.