Skip to content

Simple utility to create SOCI index for any image with zero dependencies. Run anywhere.

License

Notifications You must be signed in to change notification settings

CloudSnorkel/standalone-soci-indexer

Repository files navigation

Standalone SOCI Index Builder

Usage

Download latest version with:

LATEST_VERSION=`curl -w "%{redirect_url}" -fsS https://github.com/CloudSnorkel/standalone-soci-indexer/releases/latest | grep -oE "[^/]+$"`
curl -fsSL https://github.com/CloudSnorkel/standalone-soci-indexer/releases/download/${LATEST_VERSION}/standalone-soci-indexer_Linux_x86_64.tar.gz | tar xz

Use it to pull an image, index it, and push a SOCI snapshot with:

./standalone-soci-indexer 1234567890.dkr.ecr.us-east-1.amazonaws.com/some-repo:latest

The indexer will automatically use the provided environment AWS credentials to login to ECR. If you need to use a different authentication method, you can use the --auth flag to specify a different authentication token:

./standalone-soci-indexer docker.io/some-repo:latest --auth user:password

About

Simple utility to create SOCI index for any image with zero dependencies. Run anywhere.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages