Correct install

This commit is contained in:
Adrien Ferrand 2018-09-12 11:07:36 +02:00
parent 40bcfa4eb1
commit a6e80143a3
2 changed files with 16 additions and 11 deletions

View File

@ -6,11 +6,15 @@ ENV BACKUPPC_VERSION 4.2.1
ENV BACKUPPC_XS_VERSION 0.57 ENV BACKUPPC_XS_VERSION 0.57
ENV RSYNC_BPC_VERSION 3.0.9.12 ENV RSYNC_BPC_VERSION 3.0.9.12
ENV PAR2_VERSION v0.8.0 ENV PAR2_VERSION v0.8.0
ENV SUPERVISOR_COMMIT_HASH abef0a2be35f4aae4a4edeceadb7a213b729ef8d
# Install backuppc runtime dependencies # 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 # 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 # Compile and install BackupPC:XS
&& git clone https://github.com/backuppc/backuppc-xs.git /root/backuppc-xs --branch $BACKUPPC_XS_VERSION \ && git clone https://github.com/backuppc/backuppc-xs.git /root/backuppc-xs --branch $BACKUPPC_XS_VERSION \
&& cd /root/backuppc-xs \ && cd /root/backuppc-xs \

View File

@ -4,6 +4,7 @@ username = dummy
password = dummy password = dummy
[supervisord] [supervisord]
user=root
logfile = /var/log/supervisord.log logfile = /var/log/supervisord.log
logfile_maxbytes = 50MB logfile_maxbytes = 50MB
logfile_backups = 10 logfile_backups = 10