-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Dockerfiles enhanced to support ARM64 #7937
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
Conversation
/werft run 👍 started the job as gitpod-build-zb-arm64-build-fork.0 |
Codecov Report
@@ Coverage Diff @@
## main #7937 +/- ##
==========================================
- Coverage 12.01% 10.20% -1.81%
==========================================
Files 20 18 -2
Lines 1190 1009 -181
==========================================
- Hits 143 103 -40
+ Misses 1043 905 -138
+ Partials 4 1 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/werft run 👍 started the job as gitpod-build-zb-arm64-build-fork.1 |
Hi! I'm back! Original issue: #7700 |
/lgtm I tested the I see this as first step to eventually support ARM platforms. IMO it would make sense to also offer Some thoughts around building additional
|
LGTM label has been added. Git tree hash: de3bb443246bb5c0bbbec610609a151fcd6d13fc
|
Thanks to you, I was able to get started, and your point was very helpful. In particular, I received a lot of help in building a test environment using Github Actions. |
New changes are detected. LGTM label has been removed. |
I finally managed to run it. Does it work using MariaDB? The only one that requires amd64 is MySQL. |
@ZCube we still need to update the helm chart to support arm64. I've already started doing this. https://github.com/gitpod-io/gitpod/tree/main/chart |
@ZCube please squash the commits - I'll then re-run the CI and I reckon we're good to go |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: geropl Associated issue: #7700 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@csweichel I squash the commit. I probably won't have to fix it any more. Sorry for bothering you with the commit. |
Hi, there seems to be a conflict. Can you please resolve it? |
@princerachit In order to resolve this conflict, I have to modify the part related to the gitpod/openvscode-server-linux-build-agent docker image, but I can't do it. I was lost as to where to start. |
# Conflicts: # components/ide/code/leeway.Dockerfile
@ZCube fun little problem. this image doesn't support arm64. https://hub.docker.com/layers/gitpod/openvscode-server-linux-build-agent/stretch-arm64/images/sha256-908fd91b4b9801324075904ba8a0907ec6ce7d94695e80ac22746d9e4b9180c5?context=explore |
However, we do have this repo: |
@ZCube I created a https://github.com/gitpod-arm/vscode-linux-build-agent/actions/runs/1814282344 |
@csweichel how we are going to maintain it? It seems to add some complexity to IDE images |
Hi @ZCube - thank you for the effort you've put into this.
I am sorry I don't have better news. Also, the statements above reflect our reasoning at this time, and things might change down the road. |
Description
Dockerfiles enhanced to support ARM64. GitPod can be built on ARM64.
Related Issue(s)
Fixes #7700
How to test
Build GitPod on arm64 using docker image ghcr.io/zcube/workspace-images/gitpod-dev:arm64
To build the frontend, you need the arm64 binary of grpc-tool. It can be found at https://github.com/ZCube/grpc-precompiled-binaries.
replaces package.json
from
to
The build was tested using github jobs at https://github.com/zcube/gitpod/tree/arm64-2
After modifying the rendered yaml in the installer, it mostly works like this.
node0 : ARM64
nodex86 : x86
MySQL cannot run on ARM64.
Release Notes
P.S