#NEWLINE# def make_final_dockerfile( self , docker_file , second_image ) : #NEWLINE# #INDENT# '\n        Takes the committed image from second_dockerfile and adds a CMD to it\n        with the value of self.command\n        ' #NEWLINE# self . setup_lines ( ) #NEWLINE# docker_lines = [ 'FROM {0}' . format ( docker_file ) , 'CMD {0}' . format ( self . default_cmd ) ] #NEWLINE# return DockerFile ( docker_lines = docker_lines , mtime = docker_file . mtime )