odo icon indicating copy to clipboard operation
odo copied to clipboard

Native support for arm64 / Apple M1 Silicon

Open rofrano opened this issue 2 years ago • 3 comments

/kind feature

Which functionality do you think we should add?

As a Software Engineer, I need a native arm64 compiled version of odo, So that I can work in Docker containers with VSCode Remote Containers on Apple M1 Silicon which is arm based.

Why is this needed?

My teams and students do all of their work in Docker containers using Visual Studio Code and the Remote Container extension. Many teams members have new Apple M1 Silicon Macs that are arm based and this number continues to grow. All of our containers are Linux based and so we need a version of odo that runs in a linux container on arm64 architecture.

For more information on why we do this, read my article: Developing on Apple M1 Silicon with Virtual Environments for a similar solution using Vagrant which also requires an arm64 version of odo.

rofrano avatar May 18 '22 13:05 rofrano

Hey @rofrano

We have releases of odo for Mac M1 which I've been personally using it.

https://odo.dev/docs/getting-started/installation#macos

cdrage avatar May 19 '22 12:05 cdrage

@cdrage Awesome! You might want to tell the Red Hat OpenShift team about this because their docs make no mention of an arm64 version: https://docs.openshift.com/container-platform/4.6/cli_reference/developer_cli_odo/installing-odo.html

Thanks for pointing this out. I'm going to try and incorporate this into my DevOps course this semester. You can close this issue.

rofrano avatar May 19 '22 23:05 rofrano

Hi @rofrano, thanks for raising this. I'll keep this issue open and only rename it. As you discovered we need to mention M1 binaries on openshift docs.

/title Missing link to Apple M1 (darwin-arm64) binaries in OpenShift docs /kind bug /area documentation

kadel avatar May 31 '22 08:05 kadel

cc: @gabriel-rh

valaparthvi avatar Sep 08 '22 13:09 valaparthvi

This is addressed by Gabriel's PR https://github.com/openshift/openshift-docs/pull/51827. Preview: https://51827--docspreview.netlify.app/openshift-enterprise/latest/cli_reference/developer_cli_odo/installing-odo.html#installing-odo-on-macos_installing-odo

valaparthvi avatar Oct 20 '22 10:10 valaparthvi