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

Devcontainer on Mac with Apple Silicon fails due to no AARCH64 support in Azure Functions Core Tools #12

Open
MarkWme opened this issue Aug 15, 2023 · 6 comments · May be fixed by #114
Assignees

Comments

@MarkWme
Copy link
Member

MarkWme commented Aug 15, 2023

Running the dev container locally on a Mac with Apple Silicon will fail during the build of the container. The error will be similar to the following:

6.133 E: Unable to locate package azure-functions-core-tools
6.135 ERROR: Feature "Azure Functions Core Tools" (ghcr.io/
[2023-08-15T11:13:12.890Z] jlaundry/devcontainer-features/azure-functions-core-tools) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/azure-functions-core-tools for help troubleshooting this error.

This is because there is currently no official release of Azure Functions Core Tools that supports installation inside of a container when running on Apple Silicon:

jlaundry/devcontainer-features#7

Azure/azure-functions-core-tools#3112

@MarkWme MarkWme self-assigned this Aug 15, 2023
@EverybodyKurts
Copy link

Almost 2 months later... is there any update? Thanks for any info.

@MarkWme
Copy link
Member Author

MarkWme commented Dec 7, 2023

I saw that there is now official support for Azure Functions on Apple silicon, so I'm hoping this is now fixed. I will take a look over the next few days.

https://azure.microsoft.com/en-us/updates/generally-available-azure-functions-support-on-apple-silicon-macs/

@MiguelElGallo
Copy link

Facing same issue.

@sebafo
Copy link
Contributor

sebafo commented Jan 17, 2024

This is sadly not fixed. For the devcontainer we need a Linux AARCH64 version, but it is not available yet.
Azure/azure-functions-core-tools#3112

@robinmanuelthiel
Copy link
Member

When commenting out the Azure Function Tools in .devcontainer/devcontainer.json, the Dev Container starts in Apple Silicon.

// "ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {
//     "version": "latest"
// }

The question is: Do we need the function tools at all? I don't see the any Azure Functions stuff anymore in the repo. @MarkWme can't we just remove this?

@MarkWme
Copy link
Member Author

MarkWme commented Apr 10, 2024

I have been thinking the same. I'm planning to review the whole repo again in the next week or so, so I'll take a look at this then and see if we can just remove this now.

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 a pull request may close this issue.

5 participants