@lines.setter<EOL><INDENT>def lines(self, lines):<DEDENT>
if self.cache_content:<EOL><INDENT>self.cached_content = '<STR_LIT>'.join([b2u(l) for l in lines])<EOL><DEDENT>try:<EOL><INDENT>with self._open_dockerfile('<STR_LIT:wb>') as dockerfile:<EOL><INDENT>dockerfile.writelines([u2b(l) for l in lines])<EOL><DEDENT><DEDENT>except (IOError, OSError) as ex:<EOL><INDENT>logger.error("<STR_LIT>", ex)<EOL>raise<EOL><DEDENT>
Fill Dockerfile content with specified lines
:param lines: list of lines to be written to Dockerfile