20 lines
561 B
Docker
20 lines
561 B
Docker
FROM 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"]
|