-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 795 Bytes
/
Dockerfile
File metadata and controls
25 lines (19 loc) · 795 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
FROM openjdk:8-jdk-alpine
RUN apk --no-cache add python2 wget openssl ca-certificates && update-ca-certificates
ENV URL https://github.com/brianfrankcooper/YCSB/releases/download/0.17.0/ycsb-0.17.0.tar.gz
RUN wget -qO- $URL | tar zxv -C /
ADD runner.sh ./runner.sh
ADD concierge.sh ./
ADD janitor.py ./janitor.py
ADD workloads ./workloads
ADD populate.py ./
ADD esle-usl-1.0-SNAPSHOT.jar ./
RUN apk add --no-cache python2 \
&& python2 -m ensurepip \
&& pip install --upgrade pip setuptools \
&& rm -r /usr/lib/python*/ensurepip && \
if [ ! -e /usr/bin/pip ]; then ln -s pip /usr/bin/pip ; fi && \
if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python2 /usr/bin/python; fi && \
rm -r /root/.cache
RUN pip install pymongo
RUN apk update && apk add bash && apk add bc && apk add gnuplot