-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (21 loc) · 785 Bytes
/
Dockerfile
File metadata and controls
29 lines (21 loc) · 785 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
# k5utils
FROM alpine:latest
LABEL maintainer="dev@starck.fi"
RUN set -x \
&& apk add --no-cache --update bash build-base curl git jq libffi-dev \
linux-headers openssl-dev py-pip python-dev \
&& pip install git+https://github.com/openstack/python-openstackclient.git
RUN set -x \
&& pip install git+https://github.com/openstack/python-heatclient.git \
&& pip install git+https://github.com/openstack/python-novaclient.git \
&& pip install git+https://github.com/openstack/python-swiftclient.git
COPY bashrc /root/.bashrc
COPY inputrc /etc/inputrc
COPY utils/ /usr/local/bin/
COPY unannoy.patch /tmp/unannoy.patch
RUN set -x \
&& mkdir /vol \
&& patch -p0 < /tmp/unannoy.patch \
&& chmod -c 755 /usr/local/bin/k5-*
VOLUME /vol
ENTRYPOINT ["/bin/bash"]