Can't build Dockerfile with gauge for arm64 architecture #2227
gadgadskiy
started this conversation in
General
Replies: 2 comments 2 replies
-
I don't think Darwin binaries can be used inside Docker because |
Beta Was this translation helpful? Give feedback.
1 reply
-
There are a couple of things:
I used the multistage build to create a gauge-docker image on m1 mac. Please see if this works for you:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I have a working Dockerfile to build an image for running gauge tests in the docker container for intel architecture. Now, I'm trying to make a similar file with the version for Mac with an m1 processor but get a mistake:
The command '/bin/sh -c gauge config check_updates false' returned a non-zero code: 2
This mistake appears on each mention of gauge commands, like
gauge config check_updates false
,gauge -v
, etc.The simplest Dockerfile to reproduce the error:
The same Dockerfile builds successfully when I've changed version bach to 1.4.3-linux.x86_64.zip.
First, I thought it happened because I had run the script on a machine with an Intel processor. But on a device with an m1 processor, I've got a similar error too.
What I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions