Sign inSign up

poswark/tools

By poswark

•Updated about 1 month ago

Image
0

208

poswark/tools repository overview

FROM --platform=linux/amd64 python:3.11-slim

WORKDIR /app

ENV PYTHONDONTWRITEBYTECODE=1
PYTHONUNBUFFERED=1
PIP_NO_CACHE_DIR=1

⁠CLI versions are build arguments so they can be updated without changing the

⁠installation logic. Each tool is installed directly from its official release.

ARG YQ_VERSION=v4.45.4 ARG HELM_VERSION=v3.16.3 ARG KUSTOMIZE_VERSION=v5.5.0 ARG ARGOCD_VERSION=v2.13.3

RUN apt-get update
&& apt-get install --no-install-recommends -y ca-certificates curl git jq tar
&& curl -fsSL -o /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64⁠"
&& curl -fsSL -o /tmp/helm.tar.gz "https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz⁠"
&& tar -xzf /tmp/helm.tar.gz -C /tmp
&& mv /tmp/linux-amd64/helm /usr/local/bin/helm
&& curl -fsSL -o /tmp/kustomize.tar.gz "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz⁠"
&& tar -xzf /tmp/kustomize.tar.gz -C /usr/local/bin
&& curl -fsSL -o /usr/local/bin/argocd "https://github.com/argoproj/argo-cd/releases/download/${ARGOCD_VERSION}/argocd-linux-amd64⁠"
&& chmod +x /usr/local/bin/yq /usr/local/bin/helm /usr/local/bin/kustomize /usr/local/bin/argocd
&& rm -rf /var/lib/apt/lists/* /tmp/*

RUN pip install --upgrade pip
&& pip install typer pyyaml rich python-dotenv

Tag summary

Content type

Image

Digest

sha256:423ed618d…

Size

165.6 MB

Last updated

about 1 month ago

docker pull poswark/tools:0.0.4