mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-10-31 23:16:30 +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 [ "cross-build-start" ]
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y duplicity python-setuptools ncftp cron \
|
&& apt-get install -y --no-install-recommends duplicity python-setuptools \
|
||||||
python-boto python-swiftclient python-pexpect openssh-client \
|
ncftp cron python-boto python-swiftclient python-pexpect openssh-client \
|
||||||
&& rm -rf /var/apt/lists/*
|
&& rm -rf /var/apt/lists/*
|
||||||
|
|
||||||
RUN [ "cross-build-end" ]
|
RUN [ "cross-build-end" ]
|
||||||
|
@ -2,10 +2,12 @@ FROM ubuntu:xenial
|
|||||||
MAINTAINER ViViDboarder <vividboarder@gmail.com>
|
MAINTAINER ViViDboarder <vividboarder@gmail.com>
|
||||||
|
|
||||||
RUN apt-get update \
|
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 \
|
&& add-apt-repository ppa:duplicity-team/ppa \
|
||||||
&& apt-get update \
|
&& 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 \
|
python-swiftclient python-pip python-pexpect openssh-client \
|
||||||
&& pip install boto \
|
&& pip install boto \
|
||||||
&& apt-get autoremove -y python-pip \
|
&& apt-get autoremove -y python-pip \
|
||||||
|
Loading…
Reference in New Issue
Block a user