mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Merge branch 'master' into release-4.x
This commit is contained in:
commit
11f182cbd0
10
Dockerfile
10
Dockerfile
@ -3,8 +3,8 @@ FROM alpine:3.5
|
||||
MAINTAINER Adrien Ferrand <ferrand.ad@gmail.com>
|
||||
|
||||
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)
|
||||
@ -35,6 +33,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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user