search for: dockerfile_best

Displaying 3 results from an estimated 3 matches for "dockerfile_best".

2016 Jan 29
1
Re: Write content to file from Dockerfile and/or any other method
...esides in, and use the following line in the Dockerfile: [code] COPY MariaDB.repo /etc/yum.repos.d/MariaDB.repo [/code] much better that way, for further tips on Dockerfile writing, I'll point you to the offical site "docs.docker.com", esp: https://docs.docker.com/engine/articles/dockerfile_best-practices/ Have a nice weekend, - Yamaban.
2016 May 11
0
Official Docker images and security updates
...#39;t run `yum -y upgrade` for CentOS. Any advice on whether it's best practice to always update packages or not? Thank you, Giovanni 1 - http://pastie.org/pastes/10833370/text 2 - https://blog.docker.com/2016/05/docker-security-scanning/ 3 - https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/
2016 Jan 29
2
Write content to file from Dockerfile and/or any other method
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 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 What's the right way to do this? The one below? echo