Skip to content

Commit 11f182c

Browse files
author
Adrien Ferrand
committed
Merge branch 'master' into release-4.x
2 parents 22b1bf4 + 0dc0ac3 commit 11f182c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FROM alpine:3.5
33
MAINTAINER Adrien Ferrand <[email protected]>
44

55
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
88
ENV PAR2_VERSION v0.7.0
99

1010
RUN apk --no-cache add \
@@ -19,8 +19,6 @@ supervisor rsync samba-client iputils openssh openssl rrdtool msmtp lighttpd lig
1919
# Compile and install BackupPC:XS
2020
&& git clone https://github.com/backuppc/backuppc-xs.git /root/backuppc-xs --branch $BACKUPPC_XS_VERSION \
2121
&& 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 \
2422
&& perl Makefile.PL && make && make test && make install \
2523

2624
# Compile and install Rsync (BPC version)
@@ -35,6 +33,10 @@ supervisor rsync samba-client iputils openssh openssl rrdtool msmtp lighttpd lig
3533
&& rm -f /usr/sbin/sendmail \
3634
&& ln -s /usr/bin/msmtp /usr/sbin/sendmail \
3735

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+
3840
# Get BackupPC, it will be installed at runtime to allow dynamic upgrade of existing config/pool
3941
&& curl -o /root/BackupPC-$BACKUPPC_VERSION.tar.gz -L https://github.com/backuppc/backuppc/releases/download/$BACKUPPC_VERSION/BackupPC-$BACKUPPC_VERSION.tar.gz \
4042
# Prepare backuppc home

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# adferrand/backuppc
2-
![](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)
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)
33
![](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)
44

55
* [Introduction](#introduction)

0 commit comments

Comments
 (0)