Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.14 KB

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