summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeyu zhu <zhu.zeyu@zte.com.cn>2016-12-22 16:33:07 +0800
committerzeyu Zhu <zhu.zeyu@zte.com.cn>2017-01-11 16:57:06 +0800
commit55aac0f5a7d50e33bc1521a24fc5f2d386572ff1 (patch)
treefc5c7f08c9887dd564d31a5bcccef9acc7044761
parent2021d90abd0a12ee6afedc2d0ed2872d67243e97 (diff)
Move Dockerfile to ./docker path
According to other projects(releng/jjb/releng/opnfv-docker.yml), all the Dockerfiles are put in ./docker path. The escalator docker build procedure will be seperated from escalator tar file build procedure. The escalator docker will be directly used during the tar build procedure. It will help to save the build time. A seperate job will be created in Jenkins to monitor the Docker changes and will build the docker image. Change-Id: I815a8b1043bb0e3b614fa56d0fb793c1c9eb1a0e Signed-off-by: zeyu zhu <zhu.zeyu@zte.com.cn>
-rwxr-xr-xci/build_rpm/build_rpms.sh2
-rw-r--r--docker/Dockerfile (renamed from ci/build_rpm/Dockerfile)0
2 files changed, 1 insertions, 1 deletions
diff --git a/ci/build_rpm/build_rpms.sh b/ci/build_rpm/build_rpms.sh
index 81443ca..356e178 100755
--- a/ci/build_rpm/build_rpms.sh
+++ b/ci/build_rpm/build_rpms.sh
@@ -9,7 +9,7 @@ function build_rpm_pkg {
rm -rf $ESCALATORDIR/build_output
mkdir -p $ESCALATORDIR/build_output
- sudo docker build -t escalator_rpm .
+ sudo docker build -t escalator_rpm ../../docker
sudo docker run --rm -v $ESCALATORDIR:/opt/escalator -v $CACHE_DIRECTORY:/home/cache -t escalator_rpm \
/opt/escalator/ci/build_rpm/build_rpms_docker.sh $OPNFV_ARTIFACT_VERSION
diff --git a/ci/build_rpm/Dockerfile b/docker/Dockerfile
index 48e254f..48e254f 100644
--- a/ci/build_rpm/Dockerfile
+++ b/docker/Dockerfile