Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
apk
 
 
bin
 
 
 
 
deb
 
 
 
 
 
 
rpm
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Packages Auto Update Status Latest Release Slack Community

README Header

Cloud Posse

Cloud Posse distribution of awesome apps.


This project is part of our comprehensive "SweetOps" approach towards DevOps.

It's 100% Open Source and licensed under the APACHE2.

Introduction

Use this repo to easily install releases of popular Open Source apps. We provide a few ways to use it.

  1. Make Based Installer. This installer works regardless of your OS and distribution. It downloads packages directly from their GitHub source repos and installs them to your INSTALL_PATH.
  2. Alpine Linux Packages. Use our Alpine repository to install prebuilt packages that use the original source binary (where possible) from the maintainers' official GitHub repo releases.
  3. Docker Image. Use our docker image as a base-image or as part of a multi-stage docker build. The docker image always distributes the latest linux binaries for x86_64 architectures.

See examples below for usage.

Is one of our packages out of date?

Open up an issue or submit a PR (preferred). We'll review quickly!

Sponsorship

Package repository hosting is graciously provided by cloudsmith. Cloudsmith is the only fully hosted, cloud-native, universal package management solution, that enables your organization to create, store and share packages in any format, to any place, with total confidence. We believe there’s a better way to manage software assets and packages, and they’re making it happen!

Usage

Alpine Repository (recommended)

A public Alpine repository is provided by Cloud Posse. The repository is hosted on Amazon S3 and fronted by CloudFlare's CDN with end-to-end TLS. This ensures insane availability with DDoS mitigation and low-cost hosting. Using this alpine repository is ultimately more reliable than depending on GitHub for availability and provides an easier way to manage dependencies pinned at multiple versions.

The repository itself is managed using alpinist, which takes care of the heavy lifting of building repository indexes. You can self-host your own Alpine repository using this strategy.

Configure the alpine repository:

The Easy Way

We provide a bootstrap script to configure the alpine repository for your version of alpine.

curl -sSL https://apk.cloudposse.com/install.sh | bash

NOTE: Requires bash and curl to run:

For Docker

Add the following to your Dockerfile near the top.

# Install the cloudposse alpine repository
ADD https://apk.cloudposse.com/ops@cloudposse.com.rsa.pub /etc/apk/keys/
RUN echo "@cloudposse https://apk.cloudposse.com/3.11/vendor" >> /etc/apk/repositories

NOTE: we support alpine 3.7, 3.8, 3.9, 3.10, and 3.11 packages at this time

Installing Alpine Packages

When adding packages, we recommend using apk add --update $package to update the repository index before installing packages.

Simply install any package as normal:

apk add gomplate

But we recommend that you use version pinning:

apk add gomplate==3.0.0-r0

And maybe even repository pinning, so you know that you get our versions:

apk add gomplate@cloudposse==3.0.0-r0

Makefile Interface

The Makefile interface works on OSX and Linux. It's a great way to distribute binaries in an OS-agnostic way which does not depend on a package manager (e.g. no brew or apt-get).

This method is ideal for local development environments (which is how we use it) where you need the dependencies installed natively for your OS/architecture, such as installing a package on OSX.

See all available packages:

make -C install help

Install everything...

make -C install all

Install specific packages:

make -C install aws-vault chamber

Install to a specific folder:

make -C install aws-vault INSTALL_PATH=/usr/bin

Uninstall a specific package

make -C uninstall yq

Rebuilding GitHub Action Workflows

The GitHub Action workflows are compiled from the .github/package-template.yml file by running make -C .github workflows. It's also run automatically when rebuilding the README.md with make readme.

Run this make target anytime the package-template.yml changes or any new packages are added to the vendor/ folder.

IMPORTANT: The package-template.yml supports a single macro for interpolation %PACKAGE_NAME% which is replaced using a sed expression. Since the workflow uses a combation of gotemplate-like interpolations as well as inlines shell scripts, we used the %VAR% form of interpolation to avoid the need for endless escaping of interpolation specifiers.

Testing Locally

Alpine

$ make docker/build/apk/shell
$ make -C vendor/<package> apk

Debian

$ make docker/build/deb/shell
$ make -C vendor/<package> deb

Mac

$ make -C vendor/<package> install

Examples

Docker Multi-stage Build

Add this to a Dockerfile to install packages using a multi-stage build process:

FROM cloudposse/packages:latest AS packages

COPY --from=packages /packages/bin/kubectl /usr/local/bin/

Docker with Git Clone

Or... add this to a Dockerfile to easily install packages on-demand:

RUN git clone --depth=1 -b master https://github.com/cloudposse/packages.git /packages && \
    rm -rf /packages/.git && \
    make -C /packages/install kubectl

Makefile Inclusion

Sometimes it's necessary to install some binary dependencies when building projects. For example, we frequently rely on gomplate or helm to build chart packages.

Here's a stub you can include into a Makefile to make it easier to install binary dependencies.

export PACKAGES_VERSION ?= master
export PACKAGES_PATH ?= packages/
export INSTALL_PATH ?= $(PACKAGES_PATH)/bin

## Install packages
packages/install:
        @if [ ! -d $(PACKAGES_PATH) ]; then \
          echo "Installing packages $(PACKAGES_VERSION)..."; \
          rm -rf $(PACKAGES_PATH); \
          git clone --depth=1 -b $(PACKAGES_VERSION) https://github.com/cloudposse/packages.git $(PACKAGES_PATH); \
          rm -rf $(PACKAGES_PATH)/.git; \
        fi

## Install package (e.g. helm, helmfile, kubectl)
packages/install/%: packages/install
        @make -C $(PACKAGES_PATH)/install $(subst packages/install/,,$@)

## Uninstall package (e.g. helm, helmfile, kubectl)
packages/uninstall/%:
        @make -C $(PACKAGES_PATH)/uninstall $(subst packages/uninstall/,,$@)

Contributing Additional Packages

In addition to following the Contributing section, the following steps can be used to add new packages for review (via a PR). If possible (and it usually is), you want to find an existing package with similarly packaged release (.tar, .gz, uncompressed binary, etc.), and copy and edit its Makefile.

  1. Copy the Makefile from an existing, similar, package within the vendors directory. Name the new folder with the same name as the binary package being installed.
  2. Edit the Makefile, ensuring the DOWNLOAD_URL is properly formatted
  3. Run make init from within the directory to create the DESCRIPTION, LICENSE, RELEASE, and VERSION files.
  4. Ensure that a test task exists in the package Makefile. It should check the version number of the installed binary if possible.
  5. Test the install and ensure that it downloads and runs as expected (make -C install <your_package> INSTALL_PATH=/tmp)
  6. Test the apk build (see below)
  7. Update the README.md (make init readme/deps readme)

Testing apk builds

To validate that a new package will build into an apk you can use the following steps;

make docker/build/apk/shell
make -C vendor/<appname> apk
# Some temp build files in the volume mount set user/group to nobody/nobody for apk building.
# It is easier to remove them while within the docker container.
rm -rf ./tmp/build.*
exit

Troubleshooting Package Addition

Here are some solutions to several common problems that may occur when adding a new package:

  1. When adding a new app, the `make -C vendor/ apk` command fails, claiming it can't find the app's binary file, even though it is in the expected place.

    Part of the make -C vendor/<app> apk command is building a package for the binary file inside an Alpine Linux container. Since Alpine Linux uses musl as its C library, this often leads to situations where binaries built against libc might not function on Alpine. What's more, binaries from projects written in Go will not be found by the Alpine package builder at all if they are missing any necessary libraries, like libc. The solution to this problem is to add an export APKBUILD_DEPENDS += libc6-compat line to the top of your new package's associated Makefile.

  2. When adding a new binary, the `make builder TARGETS=readme` command fails with `Unable to find image 'cloudposse/build-harness:sha-[some_SHA_stub]' locally`.

    This can occur when you have the cloudposse/build-harness repository checked out somewhere on your machine. make builder TARGETS=readme will end up looking for a docker image tagged with the SHA that the HEAD ref of your buld-harness points to. To correct this behavior, just run make init in the cloudposse/packages directory prior to running make builder TARGETS=readme.

Package Build Status

Build Status Version Description
amtool 0.21.0 Tool for interacting with the Alertmanager API
argocd 1.8.6 Declarative GitOpts for Kubernetes
assume-role 0.3.2 Easily assume AWS roles in your terminal.
atlantis 0.16.1 Terraform For Teams
atmos 0.17.0 Universal Tool for DevOps and Cloud Automation
awless 0.1.11 A Mighty CLI for AWS
aws-iam-authenticator 0.5.2 A tool to use AWS IAM credentials to authenticate to a Kubernetes cluster
aws-vault 6.2.0 A vault for securely storing and accessing AWS credentials in development environments
cfssl 1.5.0 Cloudflare's PKI and TLS toolkit
cfssljson 1.5.0 Cloudflare's PKI and TLS toolkit json parser
chamber 2.9.1 CLI for managing secrets
cli53 0.8.18 Command line tool for Amazon Route 53
cloudflared 2021.2.5 Argo Tunnel client
cloudposse-atlantis 0.9.0.3 Terraform For Teams, enhanced by Cloud Posse
codefresh 0.75.7 Codefresh CLI
conftest 0.23.0 Test your configuration files using Open Policy Agent
consul 1.9.3 Hashicorp consul
ctop 0.7.5 Top-like interface for container metrics
direnv 2.27.0 Unclutter your .profile
doctl 1.57.0 A command line tool for DigitalOcean services
duffle 0.3.5b1 CNAB installer
emailcli 1.0.3 Command line email sending client written in Go.
fargate 0.3.2 CLI for AWS Fargate
fetch 0.4.1 fetch makes it easy to download files, folders, and release assets from a specific public git commit, branch, or tag
figurine 1.0.1 Print your name in style
fzf 0.23.1 A command-line fuzzy finder
gh 1.6.2 The GitHub CLI
ghr 0.13.0 Upload multiple artifacts to GitHub Releases in parallel
github-commenter 0.8.0 Command line utility for creating GitHub comments on Commits, Pull Request Reviews or Issues
github-release 0.10.0 Commandline app to create and edit releases on Github (and upload artifacts)
github-status-updater 0.5.0 Command line utility for updating GitHub commit statuses and enabling required status checks for pull requests
gitleaks 1.2.0 Audit git repos for secrets 🔑
go-jsonnet 0.17.0 This an implementation of Jsonnet in pure Go.
gomplate 3.9.0 A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
gonsul 0.2.1 A stand-alone alternative to git2consul
goofys 0.24.0 a high-performance, POSIX-ish Amazon S3 file system written in Go
gosu 1.12.0 Simple Go-based setuid+setgid+setgroups+exec
gotop 3.0.0 A terminal based graphical activity monitor inspired by gtop and vtop
grpcurl 1.8.0 Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers
helm 3.5.2 The Kubernetes Package Manager
helm2 2.17.0 The Kubernetes Package Manager
helm3 3.5.2 The Kubernetes Package Manager
helmfile 0.138.4 Deploy Kubernetes Helm Charts
htmltest 0.14.0 Test generated HTML for problems
hugo 0.81.0 The world’s fastest framework for building websites.
jp 0.1.3 Command line interface to JMESPath
jq 1.6.0 Command-line JSON processor
json2hcl 0.0.6 Convert JSON to HCL, and vice versa
jx 2.1.155 Jenkins-X
k3d 4.2.0 Little helper to run Rancher Lab's k3s in Docker
k6 0.30.0 A modern load testing tool, using Go and JavaScript - https://k6.io
k9s 0.24.2 Kubernetes CLI To Manage Your Clusters In Style
katafygio 0.8.3 K8s continuous backup to git
kfctl 1.2.0 Machine Learning Toolkit for Kubernetes
kind 0.10.0 A tool for running local Kubernetes clusters using Docker
kops 1.19.1 Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management
krew 0.4.1 Kubectl plugin manager
kubecron 2.0.0 Utilities to manage kubernetes cronjobs. Run a CronJob manually for test purposes. Suspend/unsuspend a CronJob
kubectl 1.20.4 Production-Grade Container Scheduling and Management
kubectl-1.13 1.13.12 Production-Grade Container Scheduling and Management (v1.13)
kubectl-1.14 1.14.10 Production-Grade Container Scheduling and Management (v1.14)
kubectl-1.15 1.15.12 Production-Grade Container Scheduling and Management (v1.15)
kubectl-1.16 1.16.15 Production-Grade Container Scheduling and Management (v1.16)
kubectl-1.17 1.17.17 Production-Grade Container Scheduling and Management (v1.17)
kubectl-1.18 1.18.16 Production-Grade Container Scheduling and Management (v1.18)
kubectl-1.19 1.19.8 Production-Grade Container Scheduling and Management (v1.19)
kubectl-1.20 1.20.4 Production-Grade Container Scheduling and Management (v1.19)
kubectx 0.9.3 Switch faster between clusters and namespaces in kubectl
kubens 0.9.3 Switch faster between clusters and namespaces in kubectl
kubeval 0.15.0 Validate your Kubernetes configuration files, supports multiple Kubernetes versions
lazydocker 0.10.0 The lazier way to manage everything docker
lectl 0.21.0 Script to check issued certificates by Let's Encrypt on CTL (Certificate Transparency Log) using https://crt.sh
minikube 1.17.1 Run Kubernetes locally
misspell 0.3.4 Correct commonly misspelled English words in source files
opa 0.26.0 An open source project to policy-enable your service.
pack 0.17.0 Create cloud native Buildpacks
packer 1.7.0 Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
pandoc 2.11.4 Universal markup converter
pgmetrics 1.10.5 Postgres metrics
pluto 4.0.4 A cli tool to help discover deprecated apiVersions in Kubernetes
popeye 0.9.0 A Kubernetes cluster resource sanitizer
promtool 2.25.0 Prometheus CLI tool
rakkess 0.4.7 Review Access - kubectl plugin to show an access matrix for all available resources
rancher 2.4.10 Rancher CLI
rbac-lookup 0.6.3 Find Kubernetes roles and cluster roles bound to any user, service account, or group name.
saml2aws 2.28.2 CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP
scenery 0.1.5 A Terraform plan output prettifier
sentry-cli 1.63.0 A command line utility to work with Sentry.
shellcheck 0.7.1 ShellCheck, a static analysis tool for shell scripts
shfmt 3.2.2 A shell parser, formatter and interpreter (POSIX/Bash/mksh)
slack-notifier 0.3.0 Command line utility to send messages with attachments to Slack channels via Incoming Webhooks
sops 3.6.1 Secrets management stinks, use some sops!
spotctl 0.0.18 A unified CLI to manage your Spot resources.
stern 1.11.0 ⎈ Multi pod and container log tailing for Kubernetes
sudosh 0.3.0 Shell wrapper to run a login shell with sudo as the current user for the purpose of audit logging
teleport 5.2.1 Secure Access for Developers that doesn't get in the way.
teleport-4.2 4.2.12 Privileged access management for elastic infrastructure.
teleport-4.3 4.3.10 Privileged access management for elastic infrastructure.
teleport-4.4 4.4.8 Privileged access management for elastic infrastructure.
teleport-5.0 5.0.2 Secure Access for Developers that doesn't get in the way.
terraform 0.14.7 Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.
terraform-0.11 0.11.14 Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.
terraform-0.12 0.12.30 Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.
terraform-0.13 0.13.6 Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.
terraform-0.14 0.14.7 Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.
terraform-0.15 0.15.0-beta1 Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.
terraform-config-inspect 0.0.20210209133302+git4fd17a0faac2 A helper library for shallow inspection of Terraform configurations
terraform-docs 0.11.2 Generate docs from terraform modules
terraform_0.11 0.11.14 Terraform (Deprecated package. Use terraform-0.11 instead)
terraform_0.12 0.12.30 Terraform (Deprecated package. Use terraform-0.12 instead)
terraform_0.13 0.13.6 Terraform (Deprecated package. Use terraform-0.13 instead)
terragrunt 0.28.7 Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.
terrahelp 0.7.4 Terrahelp is as a command line utility that provides useful tricks like masking of terraform output.
tfenv 0.4.0 Transform environment variables for use with Terraform (e.g. HOSTNAMETF_VAR_hostname)
tfmask 0.7.0 Terraform utility to mask select output from terraform plan and terraform apply
thanos 0.18.0 Highly available Prometheus setup with long term storage capabilities. CNCF Sandbox project.
trivy 0.16.0 A Simple and Comprehensive Vulnerability Scanner for Containers, Suitable for CI
turf 0.11.0 Turf is Cloud Posse's command-line automation helper.
variant 0.37.0 Variant is a Universal CLI tool that works like a task runner
variant2 0.37.1 Second major version of Variant, a Universal CLI tool that works like a task runner
vault 1.6.3 Hashicorp vault
vendir 0.16.0 Easy way to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively.
venona 0.32.2 Codefresh runtime-environment agent
vert 0.1.0 Simple CLI for comparing two or more versions
yajsv 1.4.0 Yet Another JSON Schema Validator [CLI]
yq 4.6.1 yq is a portable command-line YAML processor

Share the Love

Like this project? Please give it a ★ on our GitHub! (it helps us a lot)

Are you using this project or any of our other projects? Consider leaving a testimonial. =)

Related Projects

Check out these related projects.

  • build-harness - Collection of Makefiles to facilitate building Golang projects, Dockerfiles, Helm charts, and more
  • geodesic - Geodesic is the fastest way to get up and running with a rock solid, production grade cloud platform built on strictly Open Source tools.

Help

Got a question? We got answers.

File a GitHub issue, send us an email or join our Slack Community.

README Commercial Support

DevOps Accelerator for Startups

We are a DevOps Accelerator. We'll help you build your cloud infrastructure from the ground up so you can own it. Then we'll show you how to operate it and stick around for as long as you need us.

Learn More

Work directly with our team of DevOps experts via email, slack, and video conferencing.

We deliver 10x the value for a fraction of the cost of a full-time engineer. Our track record is not even funny. If you want things done right and you need it done FAST, then we're your best bet.

  • Reference Architecture. You'll get everything you need from the ground up built using 100% infrastructure as code.
  • Release Engineering. You'll have end-to-end CI/CD with unlimited staging environments.
  • Site Reliability Engineering. You'll have total visibility into your apps and microservices.
  • Security Baseline. You'll have built-in governance with accountability and audit logs for all changes.
  • GitOps. You'll be able to operate your infrastructure via Pull Requests.
  • Training. You'll receive hands-on training so your team can operate what we build.
  • Questions. You'll have a direct line of communication between our teams via a Shared Slack channel.
  • Troubleshooting. You'll get help to triage when things aren't working.
  • Code Reviews. You'll receive constructive feedback on Pull Requests.
  • Bug Fixes. We'll rapidly work with you to fix any bugs in our projects.

Slack Community

Join our Open Source Community on Slack. It's FREE for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally sweet infrastructure.

Discourse Forums

Participate in our Discourse Forums. Here you'll find answers to commonly asked questions. Most questions will be related to the enormous number of projects we support on our GitHub. Come here to collaborate on answers, find solutions, and get ideas about the products and services we value. It only takes a minute to get started! Just sign in with SSO using your GitHub account.

Newsletter

Sign up for our newsletter that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover.

Office Hours

Join us every Wednesday via Zoom for our weekly "Lunch & Learn" sessions. It's FREE for everyone!

zoom

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Developing

If you are interested in being a contributor and want to get involved in developing this project or help out with our other projects, we would love to hear from you! Shoot us an email.

In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull Request so that we can review your changes

NOTE: Be sure to merge the latest changes from "upstream" before making a pull request!

Copyright

Copyright © 2017-2021 Cloud Posse, LLC

License

License

See LICENSE for full details.

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

Trademarks

All other trademarks referenced herein are the property of their respective owners.

About

This project is maintained and funded by Cloud Posse, LLC. Like it? Please let us know by leaving a testimonial!

Cloud Posse

We're a DevOps Professional Services company based in Los Angeles, CA. We ❤️ Open Source Software.

We offer paid support on all of our projects.

Check out our other projects, follow us on twitter, apply for a job, or hire us to help with your cloud strategy and implementation.

Contributors

Erik Osterman
Erik Osterman
Igor Rodionov
Igor Rodionov
Andriy Knysh
Andriy Knysh

README Footer Beacon

About

Cloud Posse DevOps distribution of linux packages for native apps, binaries, alpine packages, debian packages, and redhat packages.

Topics

Resources

License

Sponsor this project