Closed twodayslate closed 2 years ago
When testing on my M1 mac swift images do not work in docker unless you specify --platform linux/arm64.
This is easy enough with await docker.createContainer({ Image: docker_tag, Cmd: ['/bin/bash'], AutoRemove: true, Tty: true, platform: "linux/amd64" })
await docker.createContainer({ Image: docker_tag, Cmd: ['/bin/bash'], AutoRemove: true, Tty: true, platform: "linux/amd64" })
but I can't really test on the live production machine so not sure if it will work there...
Added to https://github.com/twodayslate/swift-package-registry/commit/8f048e2e58912188a44d6309d0a055931bfe6334#diff-6260afebd8d1a55e07223a91c109e3a8e9e58909dc50392cecabe25b4a5527b9R171 with no side effects
When testing on my M1 mac swift images do not work in docker unless you specify --platform linux/arm64.
This is easy enough with
await docker.createContainer({ Image: docker_tag, Cmd: ['/bin/bash'], AutoRemove: true, Tty: true, platform: "linux/amd64" })
but I can't really test on the live production machine so not sure if it will work there...