backup-tools (v1.1.0)
Published 2026-08-29 20:45:35 +00:00 by simirimia
Installation
docker pull git.copperspark-cloudworks.de/simirimia/backup-tools:v1.1.0sha256:42e4b0576fa9cb7e18e5b8425877931ea31d8ce0d6f4e32279dedbaa2c22e9a5Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1787529600' |
| ARG TOFU_VERSION=1.12.6 |
| ARG HELM_VERSION=3.19.0 |
| ARG K8S_VERSION=v1.33.13 |
| RUN |3 TOFU_VERSION=1.12.6 HELM_VERSION=3.19.0 K8S_VERSION=v1.33.13 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git unzip openssh-client jq make python3 && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |3 TOFU_VERSION=1.12.6 HELM_VERSION=3.19.0 K8S_VERSION=v1.33.13 /bin/sh -c curl -sL -o /tmp/tofu.zip "https://github.com/opentofu/opentofu/releases/download/v${TOFU_VERSION}/tofu_${TOFU_VERSION}_linux_amd64.zip" && unzip -o /tmp/tofu.zip -d /usr/local/bin tofu && rm /tmp/tofu.zip && chmod +x /usr/local/bin/tofu # buildkit |
| RUN |3 TOFU_VERSION=1.12.6 HELM_VERSION=3.19.0 K8S_VERSION=v1.33.13 /bin/sh -c curl -sL "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz" | tar -xz --strip-components=1 -C /usr/local/bin linux-amd64/helm && chmod +x /usr/local/bin/helm # buildkit |
| RUN |3 TOFU_VERSION=1.12.6 HELM_VERSION=3.19.0 K8S_VERSION=v1.33.13 /bin/sh -c curl -sL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/${K8S_VERSION}/bin/linux/amd64/kubectl" && chmod +x /usr/local/bin/kubectl # buildkit |
| RUN |3 TOFU_VERSION=1.12.6 HELM_VERSION=3.19.0 K8S_VERSION=v1.33.13 /bin/sh -c curl -sL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o /tmp/aws.zip && unzip -q /tmp/aws.zip -d /tmp && /tmp/aws/install && rm -rf /tmp/aws* # buildkit |
| RUN |3 TOFU_VERSION=1.12.6 HELM_VERSION=3.19.0 K8S_VERSION=v1.33.13 /bin/sh -c useradd -m -u 1000 runner # buildkit |
| USER runner |
| WORKDIR /workspace |
| RUN |3 TOFU_VERSION=1.12.6 HELM_VERSION=3.19.0 K8S_VERSION=v1.33.13 /bin/sh -c tofu version && helm version --short && kubectl version --client=true -o yaml | head -2 && aws --version # buildkit |
| USER root |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl gnupg ca-certificates && install -d /usr/share/postgresql-common/pgdg && curl -sL https://www.postgresql.org/media/keys/ACCC4CF8.asc -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc && echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list && apt-get update && apt-get install -y --no-install-recommends postgresql-client-18 restic age && rm -rf /var/lib/apt/lists/* # buildkit |
| WORKDIR /work |
| RUN /bin/sh -c restic version && psql --version && age --version && echo backup-tools ready # buildkit |