small docker makefiles fixes
This commit is contained in:
		
							parent
							
								
									2f5c9ecba5
								
							
						
					
					
						commit
						aaf3c5d439
					
				@ -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
 | 
			
		||||
@ -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
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user