mirror of
				https://github.com/ansible-collections/community.general.git
				synced 2024-09-14 20:13:21 +02:00 
			
		
		
		
	Minor update to the Dockerfiles
This commit is contained in:
		
							parent
							
								
									8f1303c81a
								
							
						
					
					
						commit
						fa630872d9
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -12,6 +12,7 @@ rm -f /lib/systemd/system/anaconda.target.wants/*; | |||
| RUN yum -y install \ | ||||
|     dbus-python \ | ||||
|     epel-release \ | ||||
|     file \ | ||||
|     git \ | ||||
|     make \ | ||||
|     mercurial \ | ||||
|  | @ -34,7 +35,7 @@ RUN yum -y install \ | |||
|     python-virtualenv | ||||
| RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/'  /etc/sudoers | ||||
| RUN mkdir /etc/ansible/ | ||||
| RUN echo -e '[local]\nlocalhost' > /etc/ansible/hosts | ||||
| RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts | ||||
| VOLUME /sys/fs/cgroup /run /tmp | ||||
| ENV container=docker | ||||
| CMD ["/usr/sbin/init"] | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ RUN apt-get install -y \ | |||
|     python-yaml | ||||
| RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/'  /etc/sudoers | ||||
| RUN mkdir /etc/ansible/ | ||||
| RUN echo -e '[local]\nlocalhost' > /etc/ansible/hosts | ||||
| RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts | ||||
| RUN locale-gen en_US.UTF-8 | ||||
| ENV container=docker | ||||
| CMD ["/sbin/init"] | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue