ansible-dev/build/Containerfile.fedora41
Chris Hammer b36db3b0bf
Some checks failed
Docker Build Pipeline / Cleanup-Old-Artifacts (push) Successful in 0s
Docker Build Pipeline / Check-Environment (push) Successful in 0s
Docker Build Pipeline / Clone-Repo (push) Successful in 1s
Docker Build Pipeline / Build-Images (push) Failing after 1s
Docker Build Pipeline / Push-Images (push) Has been skipped
Docker Build Pipeline / Cleanup-Build-Images (push) Has been skipped
Docker Build Pipeline / Cleanup-Docker-Login (push) Has been skipped
Revert ansible-core version due to CentOS 9; Need a solution for this...
2025-01-15 15:28:15 -05:00

22 lines
696 B
Plaintext

FROM registry.fedoraproject.org/fedora:41
LABEL maintainer="Chris Hammer (chris@thezengarden.net)"
RUN rm /etc/localtime \
&& ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime
RUN mkdir -p /root/.ssh
COPY conf/ssh_config /root/.ssh/config
COPY conf/hosts /etc/hosts
COPY conf/dnf.conf /etc/dnf/dnf.conf
COPY python/requirements.txt /tmp/requirements.txt
# RUN dnf install -y python3-pip git ansible-core python3-ansible-lint
RUN dnf update -y \
&& dnf install -y python3-pip python3-devel gcc git systemd nodejs tree procps-ng \
&& pip install pip --upgrade \
&& pip install -r /tmp/requirements.txt
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
CMD ["/bin/bash"]