now stating local build depdendencies in log

This commit is contained in:
Philipp Kunz 2016-06-07 06:31:53 +02:00
parent d7e4efc2c0
commit 3ea8265a75
2 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -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,