@@ -3,8 +3,8 @@ FROM alpine:3.5
3
3
MAINTAINER Adrien Ferrand <
[email protected] >
4
4
5
5
ENV BACKUPPC_VERSION 4.1.2
6
- ENV BACKUPPC_XS_VERSION 0.53
7
- ENV RSYNC_BPC_VERSION 3.0.9.6
6
+ ENV BACKUPPC_XS_VERSION 0.54
7
+ ENV RSYNC_BPC_VERSION 3.0.9.7
8
8
ENV PAR2_VERSION v0.7.0
9
9
10
10
RUN apk --no-cache add \
@@ -19,8 +19,6 @@ supervisor rsync samba-client iputils openssh openssl rrdtool msmtp lighttpd lig
19
19
# Compile and install BackupPC:XS
20
20
&& git clone https://github.com/backuppc/backuppc-xs.git /root/backuppc-xs --branch $BACKUPPC_XS_VERSION \
21
21
&& cd /root/backuppc-xs \
22
- # => temporary correction on version 0.53, already done on master: can be removed with version 0.54
23
- && printf "\n #define ACCESSPERMS 0777" >> rsync.h \
24
22
&& perl Makefile.PL && make && make test && make install \
25
23
26
24
# Compile and install Rsync (BPC version)
@@ -35,6 +33,10 @@ supervisor rsync samba-client iputils openssh openssl rrdtool msmtp lighttpd lig
35
33
&& rm -f /usr/sbin/sendmail \
36
34
&& ln -s /usr/bin/msmtp /usr/sbin/sendmail \
37
35
36
+ # Disable strict host key checking
37
+ && sed -i -e 's/^# Host \* /Host */g' /etc/ssh/ssh_config \
38
+ && sed -i -e 's/^# StrictHostKeyChecking ask/ StrictHostKeyChecking yes/g' /etc/ssh/ssh_config \
39
+
38
40
# Get BackupPC, it will be installed at runtime to allow dynamic upgrade of existing config/pool
39
41
&& curl -o /root/BackupPC-$BACKUPPC_VERSION.tar.gz -L https://github.com/backuppc/backuppc/releases/download/$BACKUPPC_VERSION/BackupPC-$BACKUPPC_VERSION.tar.gz \
40
42
# Prepare backuppc home
0 commit comments