From d02a0cab5310fcd5b1b8c8c305b64af2d7104b73 Mon Sep 17 00:00:00 2001 From: James Hackett Date: Tue, 26 Dec 2023 21:19:52 +0000 Subject: [PATCH] #17: Add MOTD --- Dockerfile | 2 +- build-files/.bashrc | 11 ++++++++++- ansible.cfg => build-files/ansible.cfg | 0 3 files changed, 11 insertions(+), 2 deletions(-) rename ansible.cfg => build-files/ansible.cfg (100%) diff --git a/Dockerfile b/Dockerfile index 0c06b42..9929cc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM debian:bookworm-slim AS base WORKDIR /root COPY build-files build-files -RUN cat build-files/.bashrc >> /root/.bashrc +RUN cat build-files/.bashrc >> /root/.bashrc && cat build-files/ansible.cfg >> /root/ansible.cfg RUN apt update && apt install --no-install-recommends -y gnupg \ dnsutils \ diff --git a/build-files/.bashrc b/build-files/.bashrc index bcc39f5..a6ea63f 100644 --- a/build-files/.bashrc +++ b/build-files/.bashrc @@ -1,4 +1,13 @@ eval "$(register-python-argcomplete pipx)" export PATH="/root/.local/bin:$PATH" -export EDITOR="vim" \ No newline at end of file +export EDITOR="vim" + +# motd +echo <