Build the image.
		
		:param resort.engine.execution.Context context:
		   Current execution context.

def insert(self, context):
	
		"""
		Build the image.
		
		:param resort.engine.execution.Context context:
		   Current execution 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)