summaryrefslogtreecommitdiffstats
path: root/docker/storperf-master/Dockerfile
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@dell.com>2018-07-10 13:46:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-07-10 13:46:26 +0000
commit5d542e4d0e5a863adb9e0f484b8c14fb86d9d6c8 (patch)
treeecc70012434c4e72a62a7fccb3acf793feb0f075 /docker/storperf-master/Dockerfile
parentf25f1b08fc3dde78166d3217018bd77aa62e3228 (diff)
parentff389f460711b17db2070ca90417f7ebbc0eff56 (diff)
Merge "Support Custom Workloads"
Diffstat (limited to 'docker/storperf-master/Dockerfile')
-rw-r--r--docker/storperf-master/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/docker/storperf-master/Dockerfile b/docker/storperf-master/Dockerfile
index fec3931..c95e3ca 100644
--- a/docker/storperf-master/Dockerfile
+++ b/docker/storperf-master/Dockerfile
@@ -21,7 +21,7 @@ FROM multiarch/alpine:$ARCH-$ALPINE_VERSION as storperf-builder
RUN ulimit -n 1024
-LABEL version="5.0" description="OPNFV Storperf Docker container"
+LABEL version="7.0" description="OPNFV Storperf Docker container"
ARG BRANCH=master
@@ -30,6 +30,7 @@ ENV repos_dir /home/opnfv/repos
RUN apk --no-cache add --update \
git \
alpine-sdk \
+ coreutils \
linux-headers \
libaio \
libaio-dev \
@@ -38,8 +39,8 @@ RUN apk --no-cache add --update \
# Third party git fetches
RUN git config --global http.sslVerify false
RUN git clone http://git.kernel.dk/fio.git ${repos_dir}/fio
-RUN cd ${repos_dir}/fio && git checkout tags/fio-2.99
-RUN cd ${repos_dir}/fio && EXTFLAGS="-static" make install
+RUN cd ${repos_dir}/fio && git checkout tags/fio-3.7
+RUN cd ${repos_dir}/fio && EXTFLAGS="-static" make -j $(grep -c ^processor /proc/cpuinfo) install
# Build StorPerf