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

2016-01-29 Thread reynie...@gmail.com
Thx to both of you, I forgot to add a SOT before the title because yes this is more a Docker question than a Linux one, my bad On Fri, Jan 29, 2016 at 7:12 AM, Yamaban wrote: > On Fri, 29 Jan 2016 06:31, Keith Keller wrote: > >> On 2016-01-29,

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

2016-01-28 Thread reynie...@gmail.com
I am building a Dockerfile and I am setting up MariaDB repos as follow: # Setup MariaDB repos RUN touch /etc/yum.repos.d/MariaDB.repo I should write this inside the MariaDB.repo file: [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/5.5/centos6-amd64

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

2016-01-28 Thread Keith Keller
On 2016-01-29, reynie...@gmail.com wrote: > I am building a Dockerfile and I am setting up MariaDB repos as follow: This question is probably way offtopic for a CentOS mailing list. > # Setup MariaDB repos > RUN touch /etc/yum.repos.d/MariaDB.repo > > What's the right way