Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am trying to run rp inside a Docker container on an arm64 host (Apple M1), but rp fails to build with the following error.
The Dockerfile for the test environment is below.
Operation on the arm64 host machine was supported by #44, but the result of the
uname -m
(arch
is an alias) command is slightly different when the environment is different, and it seems that it does not work.In this PR, I changed the code to treat it as ARM64 when the result of the
uname -m
command isaarch64
. The test environment can be built successfully with the following Dockerfile.For reference, when running the
uname -m
command inside a Docker container on an arm64 host (Apple M1), the result is as follows: