code: def insert(self, context):
  	
  		
  		
  		try:
  			current_dir = os.getcwd()
  			os.chdir(os.path.join(context.profile_dir(), self.__base_dir))
  			args = [
  				"packer",
  				"build",
  				self.__template_path
  			]
  			subprocess.call(args)
  		finally:
  			shutil.rmtree("output-*", ignore_errors=True)
  			os.chdir(current_dir)
docs: Build the image.
  		
  		:param resort.engine.execution.Context context:
  		   Current execution context.