victor/cnpg-backup (6e6d196)

Published 2026-11-22 18:49:56 +00:00 by victor

Installation

docker pull git.opensysbox.com/victor/victor/cnpg-backup:6e6d196
sha256:74a9654fa4568149b687730a05547243c8328d91333952a2a7660f66c9c7bba8

Image layers

ADD alpine-minirootfs-3.24.4-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
LABEL description=CNPG PostgreSQL Backup Tool
LABEL version=1.0
ENV KUBECONFIG=/kube/config TOKEN_GOTIFY= URL_GOTIFY= PG_SOCKET_DIR=/controller/run PG_USER=postgres MIN_DUMP_BYTES=10240 BCK_TO_KEEP=4 BACKUP_PATH=/backup
RUN /bin/sh -c apk add --no-cache curl bash jq coreutils gzip findutils && curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && chmod +x kubectl && mv kubectl /usr/local/bin/ && rm -rf /var/cache/apk/* # buildkit
COPY backup-cnpg.sh /usr/local/bin/backup-cnpg # buildkit
RUN /bin/sh -c chmod +x /usr/local/bin/backup-cnpg # buildkit
RUN /bin/sh -c mkdir -p /kubeconfig # buildkit
VOLUME [/kube /backups]
ENTRYPOINT ["/usr/local/bin/backup-cnpg"]

Labels

Key Value
description CNPG PostgreSQL Backup Tool
version 1.0
Details
Container
2026-11-22 18:49:56 +00:00
1
2026-11-22 18:57:43 +00:00
OCI / Docker
linux/amd64
26 MiB
Versions (6) View all
9f55904 2026-11-22
latest 2026-11-22
821f54e 2026-11-22
6e6d196 2026-11-22
742a250 2026-11-20