Skip to content

arm64 friendly IPFS container#119

Merged
pablomendezroyo merged 1 commit into
dappnode:masterfrom
garyschulte:arm64-friendly-fs-repo-migrations
Feb 19, 2024
Merged

arm64 friendly IPFS container#119
pablomendezroyo merged 1 commit into
dappnode:masterfrom
garyschulte:arm64-friendly-fs-repo-migrations

Conversation

@garyschulte

@garyschulte garyschulte commented Nov 29, 2023

Copy link
Copy Markdown
Contributor

Context

The binary used for fs-repo-migrations is currently amd64 only. This means that IPFS containers on arm64 platforms fail when trying to execute an x86 binary, leading to a container fail/restart loop.

related to #104

Approach

This tweak pulls arch-specific binaries by mapping the output of uname -m to the relevant arch tag.

Test instructions

build and run this container on arm64 machines like rock5 and MacOS M* machines.

@garyschulte garyschulte requested a review from a team as a code owner November 29, 2023 07:11

@pablomendezroyo pablomendezroyo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! @3alpha would you be able to test it in arm=

@pablomendezroyo pablomendezroyo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dappnodedev do u have an arm device to test this implementation?

@pablomendezroyo pablomendezroyo merged commit db78215 into dappnode:master Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants