kata-containers/tests/metrics/storage/fio-dockerfile/Dockerfile
David Esparza a2159a6361
metrics: Enables FIO test for kata containers
FIO benchmark is enabled to measure IO in Kata
at different latencies using containerd client,
in order to complement the CI metrics testing set.

This PR asl deprecated the previous Fio bench
based on k8s.

Fixes: #8080

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
2023-10-03 23:32:38 -06:00

27 lines
545 B
Docker

# Copyright (c) 2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
# Set up an Ubuntu image with 'fio io tester' installed
FROM docker.io/library/ubuntu:22.04
# Version of the Dockerfile
LABEL DOCKERFILE_VERSION="1.0"
# URL for the fio tester
ENV FIO_TOOLING_URL "https://github.com/axboe/fio"
RUN apt-get update --quiet && \
apt-get install --quiet --no-install-recommends -y \
bash \
util-linux \
procps \
fio && \
apt-get clean && \
rm -rf /var/lib/apt/lists/
COPY workload/fio_bench.sh /
WORKDIR /
CMD ["/bin/bash"]