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

[Image Update] Add oras #454

Closed
ridhoq opened this issue Jul 22, 2024 · 2 comments
Closed

[Image Update] Add oras #454

ridhoq opened this issue Jul 22, 2024 · 2 comments

Comments

@ridhoq
Copy link

ridhoq commented Jul 22, 2024

Which image would you like to change?

tools

What changes are you requesting?

Request is to add oras CLI to the tools image. oras is a CNCF Sandbox project that has gained broad adoption across the industry. Microsoft is a core maintainer of the project.

What scenario are these changes enabling?

The oras CLI enables users to interact with OCI registries such as pushing, pulling, and tagging containers and other OCI artifacts. It does not require the docker daemon to function.

By how much does this change change the image size?

The latest version of oras is about 9.9 Mb
image

@darrentu
Copy link
Contributor

darrentu commented Jul 29, 2024

Hi @ridhoq, thanks for bringing this to our attention. Since it's not available in Azure Linux, it'll be tricky for us to compliantly install this software. If you want this quickly, we recommend just installing it into your own cloud shell.

cd ~
VERSION="1.2.0"
curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz"
mkdir -p ~/oras-install/
mkdir -p ~/.local/bin/
tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/
mv ~/oras-install/oras ~/.local/bin/oras
rm -rf oras_${VERSION}_*.tar.gz oras-install/

Reference: https://oras.land/docs/installation#linux

@mbifeld
Copy link
Member

mbifeld commented Aug 13, 2024

We are currently waiting for the oras package to be available in Azure Linux. Once it is, please raise another issue to add the package to Cloud Shell.

@mbifeld mbifeld closed this as completed Aug 13, 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

3 participants