mirror of
				https://github.com/ansible-collections/community.mysql.git
				synced 2025-10-26 13:56:12 -07:00 
			
		
		
		
	* Fix explanation about containers images * Add definitive URI to the containers images * Document that new images must be set as public * Add makefile options possible values * Document that any mysql and mariadb tag can be use * Add computation of docker_image path * Refactor pre-command to separate commands for cleaner GHA output * Refactor to use GHA test matrix * Cut docker_image from documentation since it's now automatic * Document how to use run_all_test.py to display the test matrix * Temp: Add path to images in my fork to validate integrations tests
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			580 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			580 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM quay.io/ansible/ubuntu2004-test-container:main
 | |
| # ubuntu2004 comes with mysql-client-8
 | |
| 
 | |
| # iproute2  # To grab docker network gateway address
 | |
| RUN apt-get update -y && \
 | |
|     DEBIAN_FRONTEND=noninteractive apt-get upgrade -y --no-install-recommends && \
 | |
|     DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
 | |
|     python3.9 \
 | |
|     mysql-client \
 | |
|     iproute2
 | |
| 
 | |
| # cffi      # To connect to MySQL 8 with Python3.9 and PyMySQL
 | |
| RUN python3.9 -m pip install --disable-pip-version-check --no-cache-dir cffi pymysql==0.9.3
 | |
| 
 | |
| ENV container=docker
 | |
| CMD ["/sbin/init"]
 |