aws-cli v2: how much smaller can it get? Answer: a lot smaller :)

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • distroless

    🥑 Language focused docker images, minus the operating system.

  • Well, you can think of it like Google's distroless.

  • aws-c-http

    C99 implementation of the HTTP/1.1 and HTTP/2 specifications

  • package: name: aws-c-http version: 0.7.5 epoch: 0 description: AWS C99 implementation of the HTTP/1.1 and HTTP/2 specifications copyright: - license: Apache-2.0 environment: contents: keyring: - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub repositories: - https://packages.wolfi.dev/os - '@local ./packages' packages: - aws-c-cal-dev@local - aws-c-common-dev@local - aws-c-compression-dev@local - aws-c-io-dev@local - build-base - busybox - ca-certificates-bundle - cmake - s2n-tls-dev@local - samurai pipeline: - uses: fetch with: expected-sha512: 90bfd0abfce8727bd4ef6e9a016e6183c2c4349c2d6e4cc02b932f5109ceb3476d79b853e74ca4888b768f44eba9ae953ca5e9b900704a2a3370a200c0168c02 uri: https://github.com/awslabs/aws-c-http/archive/refs/tags/v${{package.version}}.tar.gz - runs: | if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi CFLAGS="$CFLAGS -flto=auto" \ CXXFLAGS="$CXXFLAGS -flto=auto" \ cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=None \ -DBUILD_TESTING="$(want_check && echo ON || echo OFF)" \ $CMAKE_CROSSOPTS cmake --build build - runs: | DESTDIR="${{targets.destdir}}" cmake --install build - uses: strip subpackages: - name: aws-c-http-dev pipeline: - uses: split/dev - runs: | mkdir -p "${{targets.subpkgdir}}"/usr/lib mv "${{targets.destdir}}"/usr/lib/aws-c-http "${{targets.subpkgdir}}"/usr/lib/ dependencies: runtime: - aws-c-http description: aws-c-http dev

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • aws-c-auth

    C99 library implementation of AWS client-side authentication: standard credentials providers and signing.

  • aws-cli v2 is powered by a bunch of C project like aws-c-http, aws-c-auth, etc... and so I need to package those first.

  • melange

    build APKs from source code (by chainguard-dev)

  • I'm going to use melange for packaging. I write melange package's manifest in YAML and melange spits out APK file for me.

  • apko

    Build OCI images from APK packages directly without Dockerfile

  • Once those are done, I just need to build aws-cli package, put those APK files in a final image with Chainguard's apko.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts