From aaf3c5d4390fefd11d5ab69cc05d156eee6f7df2 Mon Sep 17 00:00:00 2001 From: volodymyr-babak Date: Wed, 17 May 2017 13:17:36 +0300 Subject: [PATCH] small docker makefiles fixes --- docker/thingsboard-db-schema/Makefile | 4 ++-- docker/thingsboard/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/thingsboard-db-schema/Makefile b/docker/thingsboard-db-schema/Makefile index ef526e1a6a..604520e90d 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 diff --git a/docker/thingsboard/Makefile b/docker/thingsboard/Makefile index 72ada4d0f7..000968e447 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