diff options
Diffstat (limited to 'build-dev-docker.sh')
-rwxr-xr-x | build-dev-docker.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/build-dev-docker.sh b/build-dev-docker.sh deleted file mode 100755 index 3a565f3..0000000 --- a/build-dev-docker.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -############################################################################## -# Copyright (c) 2015 EMC and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## - -cd `dirname $0` - -echo "Creating a docker image from the current working directory..." - -cp docker/Dockerfile Dockerfile.dev -sed -i "s|COPY |COPY docker\/|" Dockerfile.dev -sed -i "s|ADD |ADD docker\/|" Dockerfile.dev -sed -i "s|RUN git clone.*https://gerrit.opnfv.org/gerrit/storperf.*$|COPY . \${repos_dir}/storperf|" Dockerfile.dev - -diff docker/Dockerfile Dockerfile.dev - -docker build -t opnfv/storperf:dev -f Dockerfile.dev . - -rm -f Dockerfile.dev |