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

tetragon:tarball: docker oci tarball fix #2161

Merged
merged 2 commits into from
Feb 28, 2024

Commits on Feb 28, 2024

  1. github:workflow: install jq

    Signed-off-by: Djalal Harouni <[email protected]>
    tixxdz committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    7fb3e73 View commit details
    Browse the repository at this point in the history
  2. make: check if docker is using new oci save format

    Starting from Docker 25.0 , the save command will dump the image
    layers in OCI compatible format: moby/moby#44598
    
    This breaks our tarball build that was using the 'layer.tar' file to
    construct the final tarball.
    
    Let's make the target a bit smart so it can handle all variants by
    parsing the docker manifest.json file to find the layer and use it.
    
    The 'make tarball' now requires jq for simplicity.
    
    Signed-off-by: Djalal Harouni <[email protected]>
    tixxdz committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    708ac75 View commit details
    Browse the repository at this point in the history