Update Dockerfile
fix bugs:
1.ERROR [10/28] RUN git clone https://github.com/openworm/c302.git && cd c302 && git checkout ow-0.9.4 && sudo pip install .
2.ERROR: Failed building wheel for h5py
Hi @pikid. Thanks again for these PRs. I'm struggling to see though why the build of the original script failed on your system. How are you building it? What OS?
Is it by any chance a recent Mac with Apple Silicon (M1/M2 chip)? In this case altering the build.sh with --platform linux/amd64 could work:
docker build --platform linux/amd64 "$@" -t "openworm/openworm:$version" .
Is it by any chance a recent Mac with Apple Silicon (M1/M2 chip)? In this case altering the build.sh with
--platform linux/amd64could work:docker build --platform linux/amd64 "$@" -t "openworm/openworm:$version" .
I can confirm this works for me on a M1 mac.