diff options
author | Mark Beierl <mark.beierl@dell.com> | 2017-05-29 20:59:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-29 20:59:25 +0000 |
commit | 9c45fac0bbe4f32c1c6baea0ed27c351fe757ae8 (patch) | |
tree | df220441ac02271ebc5a678006a3611083b12191 /ci | |
parent | 8f3c6859e483961fd9740bb662bbd049b512bba2 (diff) | |
parent | d96edc28f85b78f9323d407191d60e0d9c8749e2 (diff) |
Merge "Adding docker tag"
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/launch_docker_container.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/launch_docker_container.sh b/ci/launch_docker_container.sh index b119946..ec9c4d8 100755 --- a/ci/launch_docker_container.sh +++ b/ci/launch_docker_container.sh @@ -29,7 +29,12 @@ then sudo chown 33:33 job/carbon fi -docker pull opnfv/storperf:latest +if [ -z $DOCKER_TAG ] +then + DOCKER_TAG=latest +fi + +docker pull opnfv/storperf:$DOCKER_TAG docker run -d --env-file `pwd`/job/admin.rc \ -p 5000:5000 \ |