Add more packages to support more backends

This commit is contained in:
ViViDboarder 2017-11-16 09:22:30 -08:00
parent f7cdf9c9b6
commit 1fdaff84e4
2 changed files with 30 additions and 6 deletions

View File

@ -4,8 +4,22 @@ MAINTAINER ViViDboarder <vividboarder@gmail.com>
RUN [ "cross-build-start" ] RUN [ "cross-build-start" ]
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends duplicity python-setuptools \ && apt-get install -y --no-install-recommends \
ncftp cron python-boto python-swiftclient python-pexpect openssh-client \ duplicity python-setuptools cron python-pexpect openssh-client \
lftp \
ncftp \
python-cloudfiles \
python-gdata \
python-oauthlib \
python-paramiko \
python-urllib3 \
rsync \
tahoe-lafs \
python-pip \
&& pip install -U boto \
&& apt-get remove -y python-pip \
&& apt-get install -y --no-install-recommends \
python-swiftclient \
&& rm -rf /var/apt/lists/* && rm -rf /var/apt/lists/*
RUN [ "cross-build-end" ] RUN [ "cross-build-end" ]

View File

@ -3,13 +3,23 @@ MAINTAINER ViViDboarder <vividboarder@gmail.com>
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
software-properties-common python-software-properties \ software-properties-common python-software-properties \
&& add-apt-repository ppa:duplicity-team/ppa \ && add-apt-repository ppa:duplicity-team/ppa \
&& apt-get update \ && apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
duplicity python-setuptools ncftp \ duplicity python-setuptools python-pexpect openssh-client \
python-swiftclient python-pip python-pexpect openssh-client \ lftp \
&& pip install boto \ ncftp \
python-cloudfiles \
python-gdata \
python-oauthlib \
python-paramiko \
python-swiftclient \
python-urllib3 \
rsync \
tahoe-lafs \
python-pip \
&& pip install -U boto \
&& apt-get autoremove -y python-pip \ && apt-get autoremove -y python-pip \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/apt/lists/* && rm -rf /var/apt/lists/*