mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Add Makefile to build examples/cluster-dns images
This commit is contained in:
		
							
								
								
									
										13
									
								
								examples/cluster-dns/images/backend/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								examples/cluster-dns/images/backend/Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					TAG = v1
 | 
				
			||||||
 | 
					PREFIX = gcr.io/google_containers
 | 
				
			||||||
 | 
					IMAGE = example-dns-backend
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					all: push
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					image:
 | 
				
			||||||
 | 
						docker build -t $(PREFIX)/$(IMAGE):$(TAG) .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					push: image
 | 
				
			||||||
 | 
						gcloud docker push $(PREFIX)/$(IMAGE)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clean:
 | 
				
			||||||
							
								
								
									
										13
									
								
								examples/cluster-dns/images/frontend/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								examples/cluster-dns/images/frontend/Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					TAG = v1
 | 
				
			||||||
 | 
					PREFIX = gcr.io/google_containers
 | 
				
			||||||
 | 
					IMAGE = example-dns-frontend
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					all: push
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					image:
 | 
				
			||||||
 | 
						docker build -t $(PREFIX)/$(IMAGE):$(TAG) .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					push: image
 | 
				
			||||||
 | 
						gcloud docker push $(PREFIX)/$(IMAGE)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clean:
 | 
				
			||||||
		Reference in New Issue
	
	Block a user