You've already forked ansible-docker
							
							fix(rockylinux8): install python3-boto3
This commit is contained in:
		@@ -1,13 +1,16 @@
 | 
			
		||||
FROM docker.io/library/rockylinux:8
 | 
			
		||||
 | 
			
		||||
RUN dnf update --assumeyes && \
 | 
			
		||||
    dnf install --assumeyes bash-completion sudo && \
 | 
			
		||||
    dnf install --assumeyes epel-release && \
 | 
			
		||||
    dnf install --assumeyes ansible && \
 | 
			
		||||
    dnf remove --assumeyes epel-release && \
 | 
			
		||||
    dnf install --assumeyes bash-completion sudo && \
 | 
			
		||||
    dnf install --assumeyes 'dnf-command(config-manager)' && \
 | 
			
		||||
    dnf config-manager --set-enabled ha && \
 | 
			
		||||
    dnf install --assumeyes python3-boto3 python3-botocore && \
 | 
			
		||||
    dnf clean all
 | 
			
		||||
 | 
			
		||||
# Install Ansible inventory file
 | 
			
		||||
# Create default ansible inventory file
 | 
			
		||||
RUN mkdir --parents /etc/ansible
 | 
			
		||||
RUN echo -e "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user