This commit is contained in:
21
build/Containerfile.centos-stream9
Normal file
21
build/Containerfile.centos-stream9
Normal 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"]
|
18
build/Containerfile.debian-11
Normal file
18
build/Containerfile.debian-11
Normal 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"]
|
18
build/Containerfile.debian-12
Normal file
18
build/Containerfile.debian-12
Normal 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"]
|
19
build/Containerfile.fedora39
Normal file
19
build/Containerfile.fedora39
Normal 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"]
|
Reference in New Issue
Block a user