mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-11-01 00:56:30 +00:00
WIP: Try to install all backend reqs
This commit is contained in:
parent
cad7d68644
commit
515e798147
@ -3,24 +3,26 @@ MAINTAINER ViViDboarder <vividboarder@gmail.com>
|
||||
|
||||
RUN [ "cross-build-start" ]
|
||||
|
||||
COPY ./requirements-backend.txt /
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
cron \
|
||||
duplicity \
|
||||
lftp \
|
||||
ncftp \
|
||||
openssh-client \
|
||||
python-cloudfiles \
|
||||
python-gdata \
|
||||
python-oauthlib \
|
||||
python-dev \
|
||||
python-paramiko \
|
||||
python-pexpect \
|
||||
python-pip \
|
||||
python-setuptools \
|
||||
python-swiftclient \
|
||||
python-urllib3 \
|
||||
python-wheel \
|
||||
rsync \
|
||||
tahoe-lafs \
|
||||
&& pip install -U boto b2 \
|
||||
&& pip install -r /requirements-backend.txt \
|
||||
&& apt-get remove -y python-pip \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
python-swiftclient \
|
||||
|
@ -1,29 +1,35 @@
|
||||
FROM ubuntu:xenial
|
||||
MAINTAINER ViViDboarder <vividboarder@gmail.com>
|
||||
|
||||
COPY ./requirements-backend.txt /
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
software-properties-common python-software-properties \
|
||||
&& add-apt-repository ppa:duplicity-team/ppa \
|
||||
&& apt-get update \
|
||||
;
|
||||
RUN echo y \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
cron \
|
||||
duplicity \
|
||||
lftp \
|
||||
librsync-dev \
|
||||
ncftp \
|
||||
openssh-client \
|
||||
python-cloudfiles \
|
||||
python-gdata \
|
||||
python-oauthlib \
|
||||
python-dev \
|
||||
python-paramiko \
|
||||
python-pexpect \
|
||||
python-pycryptopp \
|
||||
python-pip \
|
||||
python-setuptools \
|
||||
python-swiftclient \
|
||||
python-urllib3 \
|
||||
python-wheel \
|
||||
rsync \
|
||||
tahoe-lafs \
|
||||
&& pip install -U boto b2 \
|
||||
;
|
||||
RUN echo y \
|
||||
&& pip install -U -r /requirements-backend.txt \
|
||||
&& apt-get autoremove -y python-pip \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/apt/lists/*
|
||||
|
15
requirements-backend.txt
Normal file
15
requirements-backend.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# List of known backend dependencies from
|
||||
# https://bazaar.launchpad.net/~duplicity-team/duplicity/0.8-series/view/head:/requirements.txt
|
||||
azure
|
||||
b2
|
||||
boto>=2.7.0
|
||||
dropbox==6.9.0
|
||||
gdata
|
||||
jottalib
|
||||
mediafire
|
||||
paramiko
|
||||
pydrive
|
||||
pyrax
|
||||
python-cloudfiles
|
||||
python-swiftclient
|
||||
requests_oauthlib
|
Loading…
Reference in New Issue
Block a user