ansible-dev/build/Containerfile.debian12
Chris Hammer 009e29b7ed
Some checks failed
continuous-integration/drone/push Build is failing
Add NodeJS to list of installed packages (for Gitea Actions testing)
2023-12-13 00:09:33 -05:00

22 lines
647 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 \
&& 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"]