init
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
# Install needed tools
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
wget \
|
||||||
|
gnupg \
|
||||||
|
ca-certificates \
|
||||||
|
lsb-release \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Add Proxmox Backup Client repository
|
||||||
|
RUN echo "deb http://download.proxmox.com/debian/pbs-client bookworm main" \
|
||||||
|
> /etc/apt/sources.list.d/pbs.list
|
||||||
|
|
||||||
|
# Add Proxmox repository key
|
||||||
|
RUN wget -qO /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg \
|
||||||
|
http://download.proxmox.com/debian/proxmox-release-bookworm.gpg
|
||||||
|
|
||||||
|
# Install Proxmox Backup Client
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y proxmox-backup-client && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
CMD ["proxmox-backup-client", "--help"]
|
||||||
1
build.sh
Normal file
1
build.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
docker buildx build --platform linux/amd64 -t pbs-client .
|
||||||
6
docker-compose.yaml
Normal file
6
docker-compose.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
services:
|
||||||
|
backup:
|
||||||
|
image: 6917544a5239ec13c3e66efdd245df2a9c9891e9c83bc78ddc733ea04d5777bd
|
||||||
|
container_name: backup_service
|
||||||
|
|
||||||
Reference in New Issue
Block a user