All checks were successful
continuous-integration/drone/push Build is passing
22 lines
592 B
Plaintext
22 lines
592 B
Plaintext
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
|
|
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 \
|
|
&& pip install pip --upgrade \
|
|
&& pip install -r /tmp/requirements.txt
|
|
|
|
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
|
|
|
|
CMD ["/bin/bash"]
|