-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
44 lines (36 loc) · 918 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM alpine:edge
LABEL maintainer Sebastian Sasu <[email protected]>
ENV GOPATH /opt/tools
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
&& apk add --update --no-cache curl \
build-base \
bzr \
git \
mercurial \
mariadb-client \
postgresql-client \
redis \
mongodb-tools \
go \
drill \
htop \
wrk \
openssl-dev \
pssh \
py2-pip \
bash \
nodejs \
aws-cli \
aws-cli-bash-completion \
aws-cli-completer \
&& apk upgrade \
&& rm -rf /var/cache/apk/*
RUN pip install cqlsh s3cmd \
&& go get github.com/rakyll/hey \
&& git clone https://github.com/giltene/wrk2.git \
&& cd wrk2 && make && cp wrk /usr/bin/wrk2 \
&& rm -rf wrk2/
RUN apk del build-base openssl-dev py2-pip && rm -rf /var/cache/apk/*
WORKDIR /opt/tools
COPY wrk-test.lua $WORKDIR
CMD ["sh"]