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

Singularity Image Support #125

Merged
merged 8 commits into from Aug 2, 2022
Merged

Singularity Image Support #125

merged 8 commits into from Aug 2, 2022

Commits on Aug 1, 2022

  1. Add client method to support SIF images

    Signed-off-by: Dmitry Harkavyi <dmytro.harkavyi@sylabs.io>
    Dmitry Harkavyi authored and dtrudg committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    376f18f View commit details
    Browse the repository at this point in the history
  2. refactor: read Singularity images without mount

    Use github.com/CalebQ42/squashfs module to read the contents of
    Singularity Image Format (SIF) container images without mounting them.
    
    Expose Singularity Images via GetImageFromSource rather than adding a
    SIF-specific GetSifImageFromSource by providing a GGCR v1.Image
    implementation backed by a SIF. This avoids the requirement of separate
    code paths within consumers of stereoscope such as syft.
    
    Signed-off-by: Adam Hughes <stickmanica@gmail.com>
    Adam Hughes authored and dtrudg committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    7342a5e View commit details
    Browse the repository at this point in the history
  3. fix: remove indirect GPLv2 dependency

    Switch to fork of github.com/CalebQ42/squashfs, which removes the
    GPLv2-licensed indirect github.com/rasky/go-lzo dependency.
    
    Signed-off-by: Adam Hughes <9903835+tri-adam@users.noreply.github.com>
    tri-adam authored and dtrudg committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    4d0db84 View commit details
    Browse the repository at this point in the history
  4. update docs to reflect support for singularity

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman authored and dtrudg committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    017492d View commit details
    Browse the repository at this point in the history
  5. shorten singularity scheme name

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman authored and dtrudg committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    3d9a9d9 View commit details
    Browse the repository at this point in the history
  6. allow CC0-1.0 license

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman authored and dtrudg committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    64c7547 View commit details
    Browse the repository at this point in the history
  7. test: sif image_simple / image_symlinks adaptations

    Modify the TestSimpleImage and TestImageSymlinks code to incorporate
    testing of a singularity sif image source.
    
    This requires signficant adaptations as singularity squashes
    containers down to a single layer.
    
    Singularity is expected to be available, and is is now installed in
    the ci-bootstrap Makefile target (from a GitHub release).
    
    Signed-off-by: David Trudgian <david.trudgian@sylabs.io>
    dtrudg committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    72e0ece View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. move sigularity to a container for portability

    Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
    wagoodman committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    881a056 View commit details
    Browse the repository at this point in the history