-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (28 loc) · 640 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
FROM ubuntu:jammy
RUN apt update
RUN apt -y install build-essential \
make \
automake \
git \
wget \
vim \
ssh \
rsync \
fio \
ffmpeg \
wrk \
iperf \
apache2-utils
### Sysbench installation
RUN apt -y install libtool pkg-config libaio-dev libmysqlclient-dev libssl-dev libpq-dev
RUN git clone https://github.com/akopytov/sysbench.git sysbench
WORKDIR /sysbench
RUN ./autogen.sh
RUN ./configure --with-mysql --with-pgsql
RUN make -j
RUN make install
RUN rm -rf sysbench
WORKDIR /root
### speedtest.py
RUN wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
ENTRYPOINT [ "/bin/bash" ]