Skip to content

FreeBSD builds #1179

Closed
Closed

Description

@tmaroschik

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.

Activity

  1. added
    enhancement
    triage
    on Nov 7, 2023
  2. shizhMSFT commented on Nov 8, 2023

    @shizhMSFT
    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

  3. tmaroschik commented on Nov 10, 2023

    @tmaroschik
    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.

  4. FeynmanZhou commented on Nov 10, 2023

    @FeynmanZhou
    Member

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

  5. tmaroschik commented on Nov 10, 2023

    @tmaroschik
    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.

  6. FeynmanZhou commented on Nov 20, 2023

    @FeynmanZhou
    Member

    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?

  7. added
    good first issue
    and removed
    triage
    on Nov 20, 2023
  8. tmaroschik commented on Dec 15, 2023

    @tmaroschik
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions