test actions 20
Some checks failed
Some checks failed
This commit is contained in:
21
build/Containerfile.centos9
Normal file
21
build/Containerfile.centos9
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 systemd nodejs \
|
||||
&& 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