Closed myxotheles closed 1 year ago
Hi, any chance you could provide a linux/arm64 image on dockerhub to use on M2?
Tried to build one myself following instructions https://labs.epi2me.io/wfquickstart/ and adding buildx and parameter --platform:
(base) ~ % docker buildx build \
-t ontresearch/wf-somatic-variation:latest \
-f Dockerfile \
--build-arg BASEIMAGE=ontresearch/base-workflow-image:v0.1.0 \
--platform linux/arm64 \
--load \
.
[+] Building 6.6s (3/3) FINISHED
=> [internal] booting buildkit 6.4s
=> => pulling image moby/buildkit:buildx-stable-1 5.7s
=> => creating container buildx_buildkit_mystifying_mirzakhani0 0.7s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
ERROR: failed to solve: failed to read dockerfile: open /tmp/buildkit-mount2748393193/Dockerfile: no such file or directory
There seems to be no Dockerfile. Am I doing something wrong?
@myxotheles the page you are pointing to is deprecated, as we now prepare the container in a different way. The preparation of ARM containers requires the individual dependencies to be compiled and available for the architecture, and not all of them are at the moment, so unfortunately this is currently not a viable option. However, as discussed in #2 the issue you are coming across is not related to the arm architecture, and the workflow should work anyway, though slower.
Thanks! That makes sense. I actually managed to run the workflow on my M2 with Rosetta activated in Docker, so it seems to work but it is slow of course.
What happened?
Hi,
I am encountering issues when using the workflow in my desktop app causing the workflow to crash
Apple Mac Book Pro M2 Pro processor, 12 Cores, 16 GB
I suspect it has got to do with apple silicon?
Operating System
macOS
Workflow Execution
EPI2ME Labs desktop application
Workflow Execution - EPI2ME Labs Versions
Version 5.0.2 (5.0.2)
Workflow Execution - CLI Execution Profile
Docker
Workflow Version
wf-somatic-variation v0.2.0
Relevant log output