-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
29 lines (25 loc) · 1020 Bytes
/
Dockerfile
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
# Copyright ClusterHQ Inc. See LICENSE file for details.
# Utility for testing VNX driver from inside a container
FROM ubuntu:14.04
MAINTAINER ClusterHQ <contact@clusterhq.com>
RUN sudo apt-get update
RUN sudo apt-get -y install apt-transport-https software-properties-common
RUN sudo apt-get -y --force-yes install \
python-pip \
git \
python-dev \
libffi-dev \
libssl-dev
RUN pip install git+https://github.com/ClusterHQ/flocker.git@1.7.2
RUN sudo apt-get -y --force-yes install \
sg3-utils \
scsitools \
lsscsi \
wget
RUN wget --quiet https://github.com/emc-openstack/naviseccli/raw/master/navicli-linux-64-x86-en-us_7.33.2.0.51-1_all.deb
RUN dpkg -i navicli-linux-64-x86-en-us_7.33.2.0.51-1_all.deb
RUN git clone https://github.com/ClusterHQ/flocker-vnx-driver.git /flocker-vnx-driver
RUN pip install --editable /flocker-vnx-driver
ENV VNX_CONFIG_FILE /flocker-vnx-driver/agent.yml.example
ENTRYPOINT ["/usr/local/bin/trial"]
CMD ["flocker_emc_vnx_driver"]