now stating local build depdendencies in log
This commit is contained in:
		
							
								
								
									
										3
									
								
								dist/npmci.build.docker.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/npmci.build.docker.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -191,6 +191,7 @@ export class Dockerfile { | |||||||
|     patchContents(){ |     patchContents(){ | ||||||
|         let done = plugins.q.defer(); |         let done = plugins.q.defer(); | ||||||
|         if(this.localBaseImageDependent == true){ |         if(this.localBaseImageDependent == true){ | ||||||
|  |             plugins.beautylog.info("Patching Dockerfile due to local build dependency!"); | ||||||
|             this.patchedContent = this.content.replace(/FROM\s[a-zA-Z0-9\/\-\:]*/, 'FROM ' + this.localBaseDockerfile.buildTag); |             this.patchedContent = this.content.replace(/FROM\s[a-zA-Z0-9\/\-\:]*/, 'FROM ' + this.localBaseDockerfile.buildTag); | ||||||
|             plugins.smartfile.memory.toFsSync( |             plugins.smartfile.memory.toFsSync( | ||||||
|                 this.patchedContent, |                 this.patchedContent, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user