thingsboard-memoizeit

small docker makefiles fixes

5/17/2017 7:17:36 AM

Details

diff --git a/docker/thingsboard/Makefile b/docker/thingsboard/Makefile
index 72ada4d..000968e 100644
--- a/docker/thingsboard/Makefile
+++ b/docker/thingsboard/Makefile
@@ -5,7 +5,7 @@ APP=application
 build:
 	cp ../../application/target/thingsboard.deb .
 	docker build --pull -t ${PROJECT}/${APP}:${VERSION} .
+	rm thingsboard.deb
 
 push: build
-	docker push ${PROJECT}/${APP}:${VERSION}
-	rm thingsboard.deb
\ No newline at end of file
+	docker push ${PROJECT}/${APP}:${VERSION}
\ No newline at end of file
diff --git a/docker/thingsboard-db-schema/Makefile b/docker/thingsboard-db-schema/Makefile
index ef526e1..604520e 100644
--- a/docker/thingsboard-db-schema/Makefile
+++ b/docker/thingsboard-db-schema/Makefile
@@ -7,7 +7,7 @@ build:
 	cp ../../dao/src/main/resources/demo-data.cql .
 	cp ../../dao/src/main/resources/system-data.cql .
 	docker build --pull -t ${PROJECT}/${APP}:${VERSION} .
+	rm schema.cql demo-data.cql system-data.cql
 
 push: build
-	docker push ${PROJECT}/${APP}:${VERSION}
-	rm schema.cql demo-data.cql system-data.cql
\ No newline at end of file
+	docker push ${PROJECT}/${APP}:${VERSION}
\ No newline at end of file