Adding some dependencies for start script

Change-Id: I467eb3eca418b06281515c19096c7e74fcb44c42
This commit is contained in:
Andrey Pavlov 2016-06-15 14:17:53 +03:00
parent a3c571a0bf
commit 14d02165cf
2 changed files with 9 additions and 2 deletions

View File

@ -6,6 +6,7 @@ ENV DEBIAN_FRONTEND noninteractive
COPY sources.list.debian /etc/apt/sources.list
COPY apt_preferences.debian /etc/apt/preferences
COPY requirements.txt /tmp/requirements.txt
# Ceph and Mariadb keys
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 08B73419AC32B4E966C1A330E84AC2C0460F3994 \
@ -14,11 +15,13 @@ RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 08B73419AC
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends ca-certificates curl sudo openssl python python-jinja2 python-six \
&& apt-get install -y --no-install-recommends ca-certificates curl sudo openssl \
&& curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py \
&& rm get-pip.py \
&& apt-get clean
&& apt-get clean \
&& pip install --no-cache-dir -r /tmp/requirements.txt \
&& rm /tmp/requirements.txt
COPY sudoers /etc/sudoers
RUN chmod 440 /etc/sudoers \

View File

@ -0,0 +1,4 @@
Jinja2>=2.8 # BSD License (3 clause)
python-etcd
PyYAML>=3.1.0 # MIT
six>=1.9.0 # MIT