mirror of
				https://github.com/Telecominfraproject/OpenNetworkLinux.git
				synced 2025-11-03 19:58:20 +00:00 
			
		
		
		
	Minor updates for running builds under stretch.
This commit is contained in:
		
							
								
								
									
										12
									
								
								docker/images/builder8/1.10/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								docker/images/builder8/1.10/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					FROM opennetworklinux/builder8:1.9
 | 
				
			||||||
 | 
					MAINTAINER Jeffrey Townsend <jeffrey.townsend@bigswitch.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN apt-get update && \
 | 
				
			||||||
 | 
					    DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
 | 
				
			||||||
 | 
					    apt-get install linux-perf-4.9 linux-tools-3.16 linux-tools -y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# Docker shell and other container tools.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					COPY docker_shell /bin/docker_shell
 | 
				
			||||||
 | 
					COPY container-id /bin/container-id
 | 
				
			||||||
							
								
								
									
										19
									
								
								docker/images/builder8/1.10/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								docker/images/builder8/1.10/Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					VERSION=1.10
 | 
				
			||||||
 | 
					USER=opennetworklinux
 | 
				
			||||||
 | 
					REPO=builder8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					TOOLS=../../../tools/docker_shell ../../../tools/container-id
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					build: check_version
 | 
				
			||||||
 | 
						cp $(TOOLS) .
 | 
				
			||||||
 | 
						docker build -t $(USER)/$(REPO):$(VERSION) .
 | 
				
			||||||
 | 
						rm -rf $(notdir $(TOOLS))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# Todo: Query remote repository to see if the request version already exists to avoid accidental overwrites
 | 
				
			||||||
 | 
					# when a new image is built but the VERSION variable is not updated.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					check_version:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					push:
 | 
				
			||||||
 | 
						docker push $(USER)/$(REPO):$(VERSION)
 | 
				
			||||||
		Reference in New Issue
	
	Block a user