build sysbench manually with mysql8 libraries
This commit is contained in:
6
sysbench/Dockerfile
Normal file
6
sysbench/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FROM xgiovio/sshd
|
||||||
|
RUN yum update -y && yum install -y make automake libtool pkgconfig libaio-devel wget unzip openssl-devel
|
||||||
|
RUN wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm --output-document mysql-repo.rpm && yum localinstall -y mysql-repo.rpm && yum install -y mysql-community-devel
|
||||||
|
RUN wget https://github.com/akopytov/sysbench/archive/master.zip --output-document sysbench.zip && unzip sysbench.zip && cd sysbench-master && ./autogen.sh && ./configure && make -j && make install
|
||||||
|
RUN cd / && /bin/rm mysql-repo.rpm sysbench.zip && /bin/rm -r sysbench-master
|
||||||
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
Reference in New Issue
Block a user