@property<EOL><INDENT>def content(self):<DEDENT>
if self.cache_content and self.cached_content:<EOL><INDENT>return self.cached_content<EOL><DEDENT>try:<EOL><INDENT>with self._open_dockerfile('<STR_LIT:rb>') as dockerfile:<EOL><INDENT>content = b2u(dockerfile.read())<EOL>if self.cache_content:<EOL><INDENT>self.cached_content = content<EOL><DEDENT>return content<EOL><DEDENT><DEDENT>except (IOError, OSError) as ex:<EOL><INDENT>logger.error("<STR_LIT>", ex)<EOL>raise<EOL><DEDENT>
:return: string (unicode) with Dockerfile content