Create Dockerfile

This commit is contained in:
joBr99 2020-08-30 20:25:22 +02:00 committed by GitHub
parent ab97deaf9b
commit 19aae532fe
1 changed files with 21 additions and 0 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM debian:buster
#Install dependencies
RUN apt-get update
RUN apt-get install wget ca-certificates -y
#Add repository
RUN echo "deb http://download.proxmox.com/debian/pbs buster pbstest" > /etc/apt/sources.list.d/pbstest-beta.list
RUN wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
#Install packages
RUN apt-get update
RUN apt-get install proxmox-backup-server -y
#Activate backup user
RUN chsh -s /bin/bash backup
#Start...
COPY entrypoint.sh /
RUN chmod a+x /entrypoint.sh
STOPSIGNAL SIGINT