ansible-dev/build/Containerfile.fedora39
Chris Hammer 41295efee2
Some checks failed
Docker Build Pipeline / Cleanup-Old-Artifacts (push) Successful in 1s
Docker Build Pipeline / Check-Environment (push) Failing after 1s
Docker Build Pipeline / Clone-Repo (push) Successful in 1s
Docker Build Pipeline / Build-Images (push) Successful in 4s
Docker Build Pipeline / Push-Images (push) Successful in 2s
Docker Build Pipeline / Cleanup-Build-Images (push) Successful in 20s
Docker Build Pipeline / Cleanup-Docker-Login (push) Successful in 0s
Add tree (#15)
Reviewed-on: #15
Co-authored-by: Chris Hammer <chris@thezengarden.net>
Co-committed-by: Chris Hammer <chris@thezengarden.net>
2024-12-21 23:38:19 -05:00

21 lines
659 B
Plaintext

FROM registry.fedoraproject.org/fedora:39
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 install -y python3-pip python3-devel gcc git systemd nodejs tree \
&& pip install pip --upgrade \
&& pip install -r /tmp/requirements.txt
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
CMD ["/bin/bash"]