[CentOS] Write content to file from Dockerfile and/or any other method