added proxmox backup client docker image
This commit is contained in:
1
pbsclient/dev/.gitignore
vendored
Normal file
1
pbsclient/dev/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
pbsclient/dev/compose.override.yml
|
||||
11
pbsclient/dev/compose.yml
Normal file
11
pbsclient/dev/compose.yml
Normal 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}
|
||||
11
pbsclient/docker/Dockerfile
Normal file
11
pbsclient/docker/Dockerfile
Normal 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" ]
|
||||
3
pbsclient/docker/scripts/entrypoint.sh
Normal file
3
pbsclient/docker/scripts/entrypoint.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!bin/bash
|
||||
|
||||
proxmox-backup-client "$@"
|
||||
Reference in New Issue
Block a user