mirror of
https://github.com/joBr99/proxmoxbackupserver
synced 2026-08-06 00:12:37 +02:00
Create Dockerfile
This commit is contained in:
+21
@@ -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
|
||||||
Reference in New Issue
Block a user