ansible-dev/build/Containerfile.debian
Chris Hammer f7564b582e
Some checks failed
Docker Image Build Pipeline / Check-Environment (push) Successful in 0s
Docker Image Build Pipeline / Build-Images (push) Failing after 0s
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
Fedora Upgrade, CentOS Removal (#21)
Reviewed-on: #21
Co-authored-by: Chris Hammer <chris@thezengarden.net>
Co-committed-by: Chris Hammer <chris@thezengarden.net>
2025-01-15 15:59:14 -05:00

22 lines
659 B
Plaintext

FROM docker.io/debian:12
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 python/requirements.txt /tmp/requirements.txt
RUN apt update \
&& apt dist-upgrade -y \
&& apt autoremove --purge -y \
&& apt install -y python3-pip git systemd nodejs tree procps \
&& pip install pip --upgrade --break-system-packages \
&& pip install -r /tmp/requirements.txt --break-system-packages
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
CMD ["/bin/bash"]