From e1bf9e232d13753bdb393406a1ed657d7e900dde Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Fri, 26 May 2017 09:56:47 +0200 Subject: [PATCH 1/3] Disable strict host key checking --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 50b12b2..681dc01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,10 @@ supervisor rsync samba-client iputils openssh openssl rrdtool msmtp lighttpd lig && rm -f /usr/sbin/sendmail \ && ln -s /usr/bin/msmtp /usr/sbin/sendmail \ +# Disable strict host key checking +&& sed -i -e 's/^# Host \*/Host */g' /etc/ssh/ssh_config \ +&& sed -i -e 's/^# StrictHostKeyChecking ask/ StrictHostKeyChecking yes/g' /etc/ssh/ssh_config \ + # Get BackupPC, it will be installed at runtime to allow dynamic upgrade of existing config/pool && curl -o /root/BackupPC-$BACKUPPC_VERSION.tar.gz -L https://github.com/backuppc/backuppc/releases/download/$BACKUPPC_VERSION/BackupPC-$BACKUPPC_VERSION.tar.gz \ # Prepare backuppc home From abcaf7342df850a07b005d8f4357e050116fe2ac Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Fri, 26 May 2017 09:58:02 +0200 Subject: [PATCH 2/3] Upgrade Backuppc::XS to 0.54 and rsync-bpc to 3.0.9.7 --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 681dc01..e511043 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM alpine:3.5 MAINTAINER Adrien Ferrand ENV BACKUPPC_VERSION 4.1.2 -ENV BACKUPPC_XS_VERSION 0.53 -ENV RSYNC_BPC_VERSION 3.0.9.6 +ENV BACKUPPC_XS_VERSION 0.54 +ENV RSYNC_BPC_VERSION 3.0.9.7 ENV PAR2_VERSION v0.7.0 RUN apk --no-cache add \ @@ -19,8 +19,6 @@ supervisor rsync samba-client iputils openssh openssl rrdtool msmtp lighttpd lig # 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 \ -# => temporary correction on version 0.53, already done on master: can be removed with version 0.54 -&& printf "\n#define ACCESSPERMS 0777" >> rsync.h \ && perl Makefile.PL && make && make test && make install \ # Compile and install Rsync (BPC version) From 0dc0ac3f23f20d6cb724a5b9670fda9f494e946a Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Fri, 26 May 2017 10:01:40 +0200 Subject: [PATCH 3/3] Version 4.1.2-1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 782012a..2769582 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # adferrand/backuppc -![](https://img.shields.io/badge/tags-4%20latest-lightgrey.svg) [![](https://images.microbadger.com/badges/version/adferrand/backuppc:4.1.2.svg) ![](https://images.microbadger.com/badges/image/adferrand/backuppc:4.1.2.svg)](https://microbadger.com/images/adferrand/backuppc:4.1.2) +![](https://img.shields.io/badge/tags-4%20latest-lightgrey.svg) [![](https://images.microbadger.com/badges/version/adferrand/backuppc:4.1.2-1.svg) ![](https://images.microbadger.com/badges/image/adferrand/backuppc:4.1.2-1.svg)](https://microbadger.com/images/adferrand/backuppc:4.1.2-1) ![](https://img.shields.io/badge/tags-3%20legacy-lightgrey.svg) [![](https://images.microbadger.com/badges/version/adferrand/backuppc:3.3.2.svg) ![](https://images.microbadger.com/badges/image/adferrand/backuppc:3.3.2.svg)](https://microbadger.com/images/adferrand/backuppc:3.3.2) * [Introduction](#introduction)