Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile #351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Dockerfile #351

wants to merge 1 commit into from

Conversation

pikid
Copy link

@pikid pikid commented Jun 12, 2024

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

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
@pgleeson
Copy link
Member

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" .

@tijszwinkels
Copy link

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" .

I can confirm this works for me on a M1 mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants