Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow building docker from Mac M1 #979

Merged
merged 2 commits into from
Nov 22, 2022

Conversation

airenas
Copy link
Contributor

@airenas airenas commented Nov 21, 2022

Solves task (building docker on Mac M1) for #742.

It changes dockerfiles to help build filecoin-ffi from the source:

  • adds rust compiled
  • allows configuring FFI_BUILD_FROM_SOURCE

The complete solution depends on: filecoin-project/lotus#9363
To build images on mac M1: make docker/all ffi_from_source=1

@airenas
Copy link
Contributor Author

airenas commented Nov 21, 2022

to review by @LexLuthr & @nonsense

@LexLuthr
Copy link
Collaborator

ITS ALIVE!!!!

% docker images
REPOSITORY                     TAG           IMAGE ID       CREATED          SIZE
filecoin/lotus-miner-dev       1.19.0-rc1    7edf1639679a   6 minutes ago    646MB
filecoin/lotus-dev             1.19.0-rc1    947893c2a68c   6 minutes ago    646MB
filecoin/booster-bitswap-dev   dev           754d3055688d   6 minutes ago    757MB
filecoin/booster-http-dev      dev           9f316d9b0bf2   6 minutes ago    757MB
filecoin/boost-dev             dev           374585a3660b   6 minutes ago    888MB
filecoin/lotus-test            1.19.0-rc1    da4e3a19e360   23 minutes ago   646MB
nginx                          1.23-alpine   d0ddde8e3f4f   9 days ago       22.1MB

@LexLuthr
Copy link
Collaborator

Can you update the README as well?

@LexLuthr LexLuthr merged commit 0be4b19 into filecoin-project:main Nov 22, 2022
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