CORD-842 update makefile for building xos-chameleon
Change-Id: I271c8ca7ff81e5a47b6e4687a221805165cbcfb3
diff --git a/containers/chameleon/Makefile b/containers/chameleon/Makefile
index 492eb77..067ae91 100644
--- a/containers/chameleon/Makefile
+++ b/containers/chameleon/Makefile
@@ -32,6 +32,8 @@
endif
chameleon:
- sudo cp Dockerfile.chameleon /opt/cord/component/chameleon
+ rm -rf tmp.chameleon
+ cp -R /opt/cord/component/chameleon tmp.chameleon
sudo docker build --no-cache=${NO_DOCKER_CACHE} --rm \
- -f /opt/cord/component/chameleon/Dockerfile.chameleon -t ${IMAGE_NAME} ${BUILD_ARGS} /opt/cord/component/chameleon
+ -f Dockerfile.chameleon -t ${IMAGE_NAME} ${BUILD_ARGS} .
+ rm -rf tmp.chameleon