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

FreeBSD builds #1179

Closed
1 task
tmaroschik opened this issue Nov 7, 2023 · 6 comments · Fixed by #1192
Closed
1 task

FreeBSD builds #1179

tmaroschik opened this issue Nov 7, 2023 · 6 comments · Fixed by #1192
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tmaroschik
Copy link

What is the version of your ORAS CLI

No response

What would you like to be added?

We would like to use oras cli to pull artifacts on FreeBSD based servers. Unfortunately the darwin builds aren't compatible.

Why is this needed for ORAS?

This would expand the potential user base to all popular systems.

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.
@tmaroschik tmaroschik added enhancement New feature or request triage New issues or PRs to be acknowledged by maintainers labels Nov 7, 2023
@shizhMSFT
Copy link
Contributor

BSD is the 2nd large UNIX / UNIX-like system family (around 0.1% - 0.2%) [1]. Although Darwin is derived from BSD, the binaries are not compatible. BTW, I am not sure if FreeBSD binaries can be run in NetBSD or OpenBSD.

@tmaroschik What's the CPU architecture of your FreeBSD based server? Have you tried those Linux binaries as BSDs are compatible with Linux ones?

@FeynmanZhou We definitely need tiers of OS / Arch support.

Reference:
[1] from Bing Chat

@tmaroschik
Copy link
Author

@shizhMSFT We're on 13.2 and amd64. Unfortunately the linux builds don't work as they quit with ELF binary type "0" not known.

@FeynmanZhou
Copy link
Member

FeynmanZhou commented Nov 10, 2023

@tmaroschik Thanks for testing it. I am curious what is the major scenario of using ORAS CLI on FreeBSD :-)

@tmaroschik
Copy link
Author

We're offering a TYPO3 based SaaS website builder. One of our infrastructure providers is fully settled on FreeBSD and providing us great service. We need to bootstrap instances of our website builder with different data templates and we're using harbor as artifact storage for those. We considered coding a php oras library, but for the short term this isn't feasible effort wise. This is why we would deploy the oras-cli to some hundred FreeBSD servers ;) Maybe we will start creating a full oras php client next year.

@FeynmanZhou
Copy link
Member

FeynmanZhou commented Nov 20, 2023

Thanks for sharing your scenario.

For new Arch and OS support, ORAS welcomes contributions from the community. For example, there was a new Arch added to the ORAS build and release flow, see #1118

@tmaroschik Are you interested in adding FreeBSD to ORAS build and release process?

@FeynmanZhou FeynmanZhou added good first issue Good for newcomers and removed triage New issues or PRs to be acknowledged by maintainers labels Nov 20, 2023
@tmaroschik
Copy link
Author

@kranurag7 Already went ahead and implemented the build. I verified that the build works on our freebsd 13.2 on amd64. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants