writeDockerFiles method
Implementation
bool writeDockerFiles(String rootDir) {
String? reason;
bool result = true;
final closer = logger.printFixed('📝 Writing docker files', inRs);
try {
Assets.dockerAmznL2.writeTo(noClobber: true);
Assets.dockerRunScript.writeTo(chmod: '+x');
} on FileSystemException catch (e) {
result = false;
reason = e.message;
}
return closer(result, reason);
}