-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (20 loc) · 782 Bytes
/
Dockerfile
File metadata and controls
31 lines (20 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# image name lzh/openstack-client
FROM luckpenugin/openstackbase:kilo
MAINTAINER Zuhui Liu penguin_tux@live.com
ENV BASE_VERSION 2015-07-31
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get dist-upgrade -y
RUN apt-get install python-dev gcc python-setuptools libffi-dev libssl-dev -y
RUN apt-get clean
RUN env --unset=DEBIAN_FRONTEND
RUN mkdir /root/.pip
ADD pip.conf /root/.pip/pip.conf
RUN easy_install -i http://mirrors.aliyun.com/pypi/simple/ pip
RUN pip install python-openstackclient \
-i http://mirrors.aliyun.com/pypi/simple/ \
--trusted-host mirrors.aliyun.com
RUN pip install python-designateclient \
-i http://mirrors.aliyun.com/pypi/simple/ \
--trusted-host mirrors.aliyun.com
CMD ["/usr/bin/supervisord", "-n"]