initial project commit
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-12-08 15:26:54 -05:00
commit 1f80729491
10 changed files with 168 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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.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 git \
&& pip install pip --upgrade \
&& pip install -r /tmp/requirements.txt
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
CMD ["/bin/bash"]

View File

@ -0,0 +1,18 @@
FROM docker.io/debian:11
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
RUN apt update \
&& apt dist-upgrade -y \
&& apt autoremove --purge -y \
&& apt install -y ansible-core ansible-lint git
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
CMD ["/bin/bash"]

View File

@ -0,0 +1,18 @@
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
RUN apt update \
&& apt dist-upgrade -y \
&& apt autoremove --purge -y \
&& apt install -y ansible-core ansible-lint git
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
CMD ["/bin/bash"]

View File

@ -0,0 +1,19 @@
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
# && pip install pip --upgrade \
# && pip install -r /tmp/requirements.txt
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
CMD ["/bin/bash"]