diff options
author | Mark Beierl <mark.beierl@emc.com> | 2015-12-10 16:14:43 -0500 |
---|---|---|
committer | Mark Beierl <mark.beierl@emc.com> | 2015-12-10 16:14:43 -0500 |
commit | 5108c90fa276adb761d294c963d0903395950864 (patch) | |
tree | 4f2b388f537839f67d52489c169eef6eaa9790a9 /build-dev-docker.sh | |
parent | aa058851826433f82dae5fbc692338030bf102ae (diff) |
Additional FIO and development build support
Add async IO development package so that FIO can
take advantage of that in order to drive queue
depth up.
Add supervisord to container so graphite and
carbon can start automatically
Add a developer build script so we can create
a container based on current state of local
repo
Change-Id: Ibd57f484b2fa41aa48a1c4fb06217e7d6e1c0b3a
JIRA: STORPERF-15
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
Diffstat (limited to 'build-dev-docker.sh')
-rwxr-xr-x | build-dev-docker.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build-dev-docker.sh b/build-dev-docker.sh new file mode 100755 index 0000000..1e6a861 --- /dev/null +++ b/build-dev-docker.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +echo "Creating a docker image from the current working directory..." + +sed "s|RUN git clone https://gerrit.opnfv.org/gerrit/storperf.*$|COPY . \${repos_dir}/storperf|" docker/Dockerfile > Dockerfile +sed -i "s|COPY storperf.pp|COPY docker/storperf.pp|" Dockerfile +sed -i "s|COPY supervisord.conf|COPY docker/supervisord.conf|" Dockerfile + +docker build -t opnfv/storperf:dev . + +rm Dockerfile |