added proxmox backup client docker image

This commit is contained in:
2025-01-13 23:25:02 +00:00
parent b87219f1a3
commit f835f8af62
7 changed files with 65 additions and 0 deletions

1
pbsclient/dev/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
pbsclient/dev/compose.override.yml

11
pbsclient/dev/compose.yml Normal file
View File

@@ -0,0 +1,11 @@
name: pbsclient-dev
services:
app:
build:
dockerfile: docker/Dockerfile
context: ../
environment:
- APP_ENV=${APP_ENV}
- PBS_PASSWORD=${PBS_PASSWORD}
- PBS_REPOSITORY=${PBS_REPOSITORY}
- PBS_FINGERPRINT=${PBS_FINGERPRINT}

View File

@@ -0,0 +1,11 @@
FROM debian:bookworm-slim
RUN apt-get update
RUN apt install -y wget
RUN wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
RUN echo "deb http://download.proxmox.com/debian/pbs-client bookworm main" >> /etc/apt/sources.list.d/pbs.list;
RUN apt update
RUN apt install -y proxmox-backup-client
COPY ./docker/scripts/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]

View File

@@ -0,0 +1,3 @@
#!bin/bash
proxmox-backup-client "$@"