Skip to content

Enable local builds on M1 Macs with custom builder image #874

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

Merged
merged 4 commits into from
Aug 22, 2022

Conversation

vladbologa
Copy link
Contributor

@vladbologa vladbologa commented Aug 9, 2022

To test this, run make image on your MacBook with Apple silicon, and set the SCANNER_IMAGE and SCANNER_DB_IMAGE env variables to match the images built by make.

Then run ./deploy/k8s/deploy-local.sh and check that scanner and scanner-db are running.

As a prerequisite, the main image has to be built locally as well, because we do not yet have arm64 images in the repository.

@ghost
Copy link

ghost commented Aug 9, 2022

Images are ready for the commit at 6a6f3d4.

To use the images, use the tag 2.25.0-66-g6a6f3d4092.

@vladbologa vladbologa force-pushed the vbologa/arm64_build branch from 013ae5f to 6a6f3d4 Compare August 22, 2022 19:06
@vladbologa vladbologa merged commit 432c021 into master Aug 22, 2022
@vladbologa vladbologa deleted the vbologa/arm64_build branch August 22, 2022 20:42
jvdm added a commit that referenced this pull request Aug 22, 2022
commit 7ea9711c27523575107712c9a945c270d9759d89
Merge: 79ba1484 432c021
Author: J. Victor Martins <jvdm@sdf.org>
Date:   Mon Aug 22 13:45:12 2022 -0700

    Merge origin/master

commit 432c021
Author: Vlad Bologa <vbologa@redhat.com>
Date:   Mon Aug 22 22:42:28 2022 +0200

    Enable local builds on M1 Macs with custom builder image (#874)

commit 79ba14841c242e2e99a9c8bf384f4cbf84123b50
Author: J. Victor Martins <jvdm@sdf.org>
Date:   Mon Aug 22 13:26:23 2022 -0700

    Add bar

commit aa816d03b296418ef98f320017ff1a49ceeda7c9
Author: J. Victor Martins <jvdm@sdf.org>
Date:   Mon Aug 22 13:22:08 2022 -0700

    Remove foobar

commit 40f6a1c5ab94ab54b8509862b96f0b3c226b44ff
Author: J. Victor Martins <jvdm@sdf.org>
Date:   Mon Aug 22 13:09:37 2022 -0700

    Add foobar

commit b2a6bcb3845c9b09753668dc8d0dcbb2189d00e1
Author: J. Victor Martins <jvdm@sdf.org>
Date:   Mon Aug 22 13:07:51 2022 -0700

    Test: Remove foobar

commit f26f7e651086a1bb8c870cd318076f8981c7bda2
Author: J. Victor Martins <jvdm@sdf.org>
Date:   Mon Aug 22 13:07:24 2022 -0700

    Foobar

commit 935b0e6927926ea55d22e8c1351901b7306eb019
Merge: 3355b61 e42e46d
Author: J. Victor Martins <jvdm@sdf.org>
Date:   Mon Aug 22 12:54:01 2022 -0700

    Merge origin/master
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