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

The devcontainer build is broken due to linux/arm64 issues #1484

Closed
onedr0p opened this issue May 21, 2024 · 4 comments
Closed

The devcontainer build is broken due to linux/arm64 issues #1484

onedr0p opened this issue May 21, 2024 · 4 comments

Comments

@onedr0p
Copy link
Owner

onedr0p commented May 21, 2024

One short fix would be to remove arm64 support for the devcontainer.

@onedr0p
Copy link
Owner Author

onedr0p commented May 21, 2024

I have pushed a change to only build for amd64 for the time being, this broke two weeks ago with no clear reason as to why.

@jmuchovej
Copy link

Could you elaborate on what broke? I did some substantial overhaul on the devcontainer – I'm running on an M1 and my devcontainer built/runs natively.
(e.g., I don't use fish, wanted something I could work out of so as to not have other tools relevant to my cluster installed on my laptop, etc.)

I can rip out some of the customizations I made and submit a PR if you're open to it – this container comes in around 1GB compressed, ~4.5GB uncompressed. (I switched to mcr.microsoft.com/devcontainers/python:3.11-bookworm, since Alpine isn't supported by some devcontainer features, like docker-outside-of-docker.)

@onedr0p
Copy link
Owner Author

onedr0p commented Aug 27, 2024

The devcontainer GHA had issues building for arm64 it might be fixed now but I haven't had time to revisit it. I mainly stuck with alpine because it has more CLI tools with recent versions, this allowed me to not have to hunt around for 3rd party devcontainer packages to include.

@onedr0p
Copy link
Owner Author

onedr0p commented Oct 6, 2024

Fixed using the ubuntu-24.04 runner

643e682

@onedr0p onedr0p closed this as completed Oct 6, 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

No branches or pull requests

2 participants