Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Begin updating script-library to support arm64 #924

Merged
merged 32 commits into from
Jul 1, 2021

Conversation

Chuxel
Copy link
Member

@Chuxel Chuxel commented Jun 28, 2021

This PR adds support for arm64 (and in some cases armhf) where possible to scripts in the library-scripts folder (related to #558). Given this drove a number of changes, I also picked up #511 and Terraform for #571. #840 is also resolved.

There's enough restructuring here that I want to get this in. All scripts work with x86_64.

Remaining issues:

  • Some scripts like Homebrew are x86_64 specific since this is not directly supported (e.g. you have to install Ruby yourself from the ground up ... which is slow).
  • There is currently an issue I am seeing in Docker that is a seg fault in gradle-debian.sh in curl, that doesn't happen for maven-debian.sh and java-debian.sh that are nearly identical. I will raise a bug on this since it's not blocking to get this in.
  • The build system needs to be adapted, but this is tracked as Update build scripts to use "docker buildx build" #914.

The script-library/tests/regression/test.sh script can now use buildx to test cross-platform builds. More testing is needed on actual arm64 hardware.

@Chuxel Chuxel requested a review from joshspicer June 28, 2021 21:26
@Chuxel
Copy link
Member Author

Chuxel commented Jun 28, 2021

//cc @joshspicer Since this technically affects the codespaces image.

Copy link
Member

@joshspicer joshspicer left a comment

Choose a reason for hiding this comment

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

A couple small typos to be fixed but otherwise lgtm

script-library/docker-in-docker-debian.sh Outdated Show resolved Hide resolved
script-library/desktop-lite-debian.sh Show resolved Hide resolved
script-library/git-from-src-debian.sh Show resolved Hide resolved
script-library/go-debian.sh Outdated Show resolved Hide resolved
script-library/powershell-debian.sh Outdated Show resolved Hide resolved
script-library/ruby-debian.sh Outdated Show resolved Hide resolved
script-library/terraform-debian.sh Outdated Show resolved Hide resolved
script-library/test/regression/run-scripts.sh Outdated Show resolved Hide resolved
script-library/test/regression/test.sh Show resolved Hide resolved
@Chuxel Chuxel merged commit 737a10c into main Jul 1, 2021
@Chuxel Chuxel deleted the clantz/apt-key-and-architecture branch July 1, 2021 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants