code: def dockerfile_lines(self):
          
          w1 = colored(
                  'WARNING: this build includes files that are built in other images!!! The generated'
                  '\n         Dockerfile must be built in a directory that contains'
                  ' the file/directory:',
                  'red', attrs=['bold'])
          w2 = colored('         ' + self.sourcepath, 'red')
          w3 = (colored('         from image ', 'red')
                + colored(self.sourcepath, 'blue', attrs=['bold']))
          print('\n'.join((w1, w2, w3)))
          return ["",
                  "# Warning: the file \"%s\" from the image \"%s\""
                  " must be present in this build context!!" %
                  (self.sourcepath, self.sourceimage),
                  "ADD %s %s" % (os.path.basename(self.sourcepath), self.destpath),
                  '']
docs: Used only when printing dockerfiles, not for building