-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (18 loc) · 709 Bytes
/
Copy pathDockerfile
File metadata and controls
24 lines (18 loc) · 709 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
FROM ubuntu
MAINTAINER Bertrand Retif <bertrand@sudokeys.com>
ENV OSTACK_AUTH_URL https://auth.cloud.ovh.net/v2.0/
ENV OSTACK_USERNAME username
ENV OSTACK_PASSWORD password
ENV OSTACK_TENANT tenant
ENV OSTACK_REGION region
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -yq curl dmidecode vim && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN /usr/bin/curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -s stable
RUN /usr/bin/curl -sSL https://dl.bintray.com/emccode/dvdcli/install | sh -s stable
COPY start_rexray.sh /
COPY rexray-openstack.conf /etc/rexray/
RUN chmod +x /start_rexray.sh
EXPOSE 7979
CMD ["/start_rexray.sh"]