mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Correct install
This commit is contained in:
parent
40bcfa4eb1
commit
a6e80143a3
@ -6,11 +6,15 @@ ENV BACKUPPC_VERSION 4.2.1
|
||||
ENV BACKUPPC_XS_VERSION 0.57
|
||||
ENV RSYNC_BPC_VERSION 3.0.9.12
|
||||
ENV PAR2_VERSION v0.8.0
|
||||
ENV SUPERVISOR_COMMIT_HASH abef0a2be35f4aae4a4edeceadb7a213b729ef8d
|
||||
|
||||
# Install backuppc runtime dependencies
|
||||
RUN apk --no-cache --update add supervisor rsync perl perl-archive-zip perl-xml-rss perl-cgi perl-file-listing expat samba-client iputils openssh openssl rrdtool msmtp lighttpd lighttpd-mod_auth gzip apache2-utils tzdata libstdc++ libgomp shadow \
|
||||
RUN apk --no-cache --update add python3 rsync perl perl-archive-zip perl-xml-rss perl-cgi perl-file-listing expat samba-client iputils openssh openssl rrdtool msmtp lighttpd lighttpd-mod_auth gzip apache2-utils tzdata libstdc++ libgomp shadow \
|
||||
# Install backuppc build dependencies
|
||||
&& apk --no-cache --update --virtual add gcc g++ libgcc autoconf automake make git patch expat-dev curl wget \
|
||||
&& apk --no-cache --update --virtual build-dependencies add gcc g++ libgcc autoconf automake make git patch perl-dev expat-dev curl wget \
|
||||
# Install supervisor
|
||||
&& python3 -m ensurepip \
|
||||
&& pip3 install --upgrade pip git+https://github.com/Supervisor/supervisor@$SUPERVISOR_COMMIT_HASH \
|
||||
# Compile and install BackupPC:XS
|
||||
&& git clone https://github.com/backuppc/backuppc-xs.git /root/backuppc-xs --branch $BACKUPPC_XS_VERSION \
|
||||
&& cd /root/backuppc-xs \
|
||||
|
@ -4,6 +4,7 @@ username = dummy
|
||||
password = dummy
|
||||
|
||||
[supervisord]
|
||||
user=root
|
||||
logfile = /var/log/supervisord.log
|
||||
logfile_maxbytes = 50MB
|
||||
logfile_backups = 10
|
||||
|
Loading…
Reference in New Issue
Block a user