Public Repository

Last pushed: 7 months ago
Short Description
Sysbench 1.1.0 built from source in an Ubuntu 17.04 container.
Full Description

Sysbench 1.1.0 built from source in an Ubuntu 17.04 container. Packages installed to build the source (e.g., automake, libtool, etc.) were removed after building Sysbench to reduce container's size. Here's the container's Dockerfile:

FROM ubuntu:17.04
MAINTAINER Saied Kazemi saied@google.com
LABEL Description="Sysbench 1.1.0 built from source on Ubuntu 17.04"

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get install -y apt-utils && \
apt-get upgrade -y && \
apt-get dist-upgrade -y && \
apt-get install -y make automake libtool pkg-config libaio-dev vim-common libmysqlclient-dev git-all && \
git clone https://github.com/akopytov/sysbench.git && \
cd sysbench && \
./autogen.sh && \
./configure && \
make && \
make install && \
apt-get purge -y make automake libtool pkg-config vim-common git-all && \
apt-get -y clean && \
apt-get -y autoremove

CMD ["/usr/local/bin/sysbench", "--version"]

Docker Pull Command
Owner
saied