mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-12-03 17:16:47 +00:00
Speed up builds by installing less packages
This commit is contained in:
parent
5c1427683c
commit
f7cdf9c9b6
@ -4,8 +4,8 @@ MAINTAINER ViViDboarder <vividboarder@gmail.com>
|
||||
RUN [ "cross-build-start" ]
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y duplicity python-setuptools ncftp cron \
|
||||
python-boto python-swiftclient python-pexpect openssh-client \
|
||||
&& apt-get install -y --no-install-recommends duplicity python-setuptools \
|
||||
ncftp cron python-boto python-swiftclient python-pexpect openssh-client \
|
||||
&& rm -rf /var/apt/lists/*
|
||||
|
||||
RUN [ "cross-build-end" ]
|
||||
|
@ -2,10 +2,12 @@ FROM ubuntu:xenial
|
||||
MAINTAINER ViViDboarder <vividboarder@gmail.com>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y software-properties-common python-software-properties \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
software-properties-common python-software-properties \
|
||||
&& add-apt-repository ppa:duplicity-team/ppa \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y duplicity python-setuptools ncftp \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
duplicity python-setuptools ncftp \
|
||||
python-swiftclient python-pip python-pexpect openssh-client \
|
||||
&& pip install boto \
|
||||
&& apt-get autoremove -y python-pip \
|
||||
|
Loading…
Reference in New Issue
Block a user