small docker makefiles fixes

This commit is contained in:
volodymyr-babak 2017-05-17 13:17:36 +03:00
parent 2f5c9ecba5
commit aaf3c5d439
2 changed files with 4 additions and 4 deletions

View File

@ -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
docker push ${PROJECT}/${APP}:${VERSION}

View File

@ -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
docker push ${PROJECT}/${APP}:${VERSION}