Skip to content

Commit a4f9770

Browse files
committed
Added QEMU to run ARM64 container
1 parent 5fe469f commit a4f9770

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: DistTasks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ tasks:
208208
desc: Builds Mac OS X ARM64 binaries
209209
dir: "{{.DIST_DIR}}"
210210
cmds:
211+
# Install QEMU to run ARM64 binaries on x86_64
212+
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
211213
# "git config safe.directory" is required until this is fixed https://github.com/elastic/golang-crossbuild/issues/232
212214
- |
213215
docker run -v `pwd`/..:/home/build -w /home/build \

0 commit comments

Comments
 (0)