Files
ansible-dev/build/Containerfile.centos
Chris Hammer 7b5e144cfa
Some checks failed
Docker Image Build Pipeline / Clean-Stale-Artifacts (push) Successful in 3s
Docker Image Build Pipeline / Check-Environment (push) Successful in 1s
Docker Image Build Pipeline / Clone-Repo (push) Failing after 0s
Docker Image Build Pipeline / Build-Images (push) Has been skipped
Docker Image Build Pipeline / Push-Images (push) Has been skipped
Docker Image Build Pipeline / Cleanup-Build-Images (push) Has been skipped
Docker Image Build Pipeline / Cleanup-Docker-Login (push) Has been skipped
Updates to bring us up-to-date
2025-08-13 15:07:31 -04:00

23 lines
710 B
Plaintext

FROM quay.io/centos/centos:stream9
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-centos.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
WORKDIR /root
CMD ["/bin/bash"]