metrics: Add sysbench dockerfile

This PR adds sysbench dockerfile.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-07-28 19:58:10 +00:00
parent 1512560111
commit ad413d1646

View File

@ -0,0 +1,17 @@
# Copyright (c) 2022-2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
# Usage: FROM [image name]
FROM ubuntu:20.04
# Version of the Dockerfile
LABEL DOCKERFILE_VERSION="1.0"
RUN apt-get update && \
apt-get install -y build-essential git curl sudo && \
apt-get remove -y unattended-upgrades && \
curl -OkL https://packagecloud.io/install/repositories/akopytov/sysbench/script.deb.sh && \
apt-get install -y sysbench
CMD ["/bin/bash"]