summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2018-02-06 19:23:52 -0500
committerBryan Sullivan <bryan.sullivan@att.com>2018-02-06 19:23:52 -0500
commit8af573fda666b8eaf87d1fca59d3ceff0a0dd9a3 (patch)
tree15507ec29580c0ca3fd2995c49b31efa61cd8348 /build
parent47f454be5fe320b5e8fada1475c19870a4d76cca (diff)
Fix anteater issue with use of /tmp
JIRA: MODELS-2 Change-Id: I340fcb0465c902b3a856509cef71b40f58f62646 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'build')
-rw-r--r--build/tacker.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/tacker.sh b/build/tacker.sh
index a416fc4..d29a1c8 100644
--- a/build/tacker.sh
+++ b/build/tacker.sh
@@ -46,13 +46,13 @@ else
sudo yum update -y
fi
-if [[ ! -d /tmp/models ]]; then
- echo; echo "$0 $(date): Cloning models repo to /tmp/models"
- git clone https://gerrit.opnfv.org/gerrit/models /tmp/models
+if [[ ! -d ~/tmp/models ]]; then
+ echo; echo "$0 $(date): Cloning models repo to ~/tmp/models"
+ git clone https://gerrit.opnfv.org/gerrit/models ~/tmp/models
fi
echo; echo "$0 $(date): Starting Tacker build process"
-cd /tmp/models/build/tacker
+cd ~/tmp/models/build/tacker
sed -i -- "s/<branch>/$branch/g" Dockerfile
sudo docker build -t tacker .