Browse Source

small docker makefiles fixes

pull/145/head
volodymyr-babak 9 years ago
parent
commit
aaf3c5d439
  1. 4
      docker/thingsboard-db-schema/Makefile
  2. 4
      docker/thingsboard/Makefile

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

4
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
docker push ${PROJECT}/${APP}:${VERSION}
Loading…
Cancel
Save