The docker sample only supports amd64, not arm64
mochechan opened this issue · 0 comments
mochechan commented
When trying to do docker build, the following errors show.
Sending build context to Docker daemon 125.4kB
Step 1/9 : FROM lganzzzo/alpine-cmake:latest
---> da855beef942
Step 2/9 : ADD . /service
---> 45872300ffdc
Step 3/9 : WORKDIR /service/utility
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in c0f95febd542
Removing intermediate container c0f95febd542
---> 52637d5a0fac
Step 4/9 : RUN ./install-oatpp-modules.sh
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in a352194e33a0
exec /bin/sh: exec format error
The command '/bin/sh -c ./install-oatpp-modules.sh' returned a non-zero code: 1
Unable to find image 'example-async-api:latest' locally
docker: Error response from daemon: pull access denied for example-async-api, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
Is it possible to support arm64 or another platform too?