fix(rockylinux8): install python3-boto3

This commit is contained in:
Markus Pesch 2025-05-07 14:41:11 +02:00
parent ef2799d375
commit f09a9348d4
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -12,7 +12,7 @@ ANSIBLE_ARCH_IMAGE_VERSION?=latest
ANSIBLE_ARCH_IMAGE_VERSION_SUFFIX=arch-linux
ANSIBLE_ARCH_IMAGE_FULLY_QUALIFIED=${ANSIBLE_ARCH_IMAGE_REGISTRY_HOST}/${ANSIBLE_ARCH_IMAGE_NAMESPACE}/${ANSIBLE_ARCH_IMAGE_REPOSITORY}:${ANSIBLE_ARCH_IMAGE_VERSION}-${ANSIBLE_ARCH_IMAGE_VERSION_SUFFIX}
# RockyLinux
# RockyLinux8
ANSIBLE_RL8_IMAGE_REGISTRY_HOST?=git.cryptic.systems
ANSIBLE_RL8_IMAGE_REGISTRY_USER?=volker.raschek
ANSIBLE_RL8_IMAGE_NAMESPACE?=${ANSIBLE_RL8_IMAGE_REGISTRY_USER}