From f29dca62d582bc7c47aac479149e4f1f46575fd1 Mon Sep 17 00:00:00 2001 From: matta Date: Wed, 2 Oct 2024 20:12:36 -0300 Subject: [PATCH] Added a motd to greet users upon login --- Dockerfile | 4 ++++ motd | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 motd diff --git a/Dockerfile b/Dockerfile index 8266428..2af19b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -166,6 +166,10 @@ RUN mkdir 2ms \ # Clean up RUN sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/* +# Configure MOTD +COPY --link --chown=root:root motd /etc/motd +RUN echo '\ncat /etc/motd\n' >> ~/.zshrc + # Set working directory WORKDIR /home/${USERNAME} CMD ["/bin/zsh"] diff --git a/motd b/motd new file mode 100644 index 0000000..8f0ea3f --- /dev/null +++ b/motd @@ -0,0 +1,15 @@ + __ __ _ + \ \ / /__| | ___ ___ _ __ ___ ___ + \ \ /\ / / _ \ |/ __/ _ \| '_ ` _ \ / _ \ + \ V V / __/ | (_| (_) | | | | | | __/ + __ \_/\_/ \___|_|\___\___/|_| |_| |_|\___| + \ \ / /_ _ _ __ __| | ___ _ __ ___ _ __ + \ \ /\ / / _` | '_ \ / _` |/ _ \ '__/ _ \ '__| + \ V V / (_| | | | | (_| | __/ | | __/ | + \_/\_/ \__,_|_| |_|\__,_|\___|_| \___|_| + + Welcome to the container sec oss tools by The Red Guild + + This container was created as a resource for a workshop, + which intends to spread awareness, help people protect themselves + and the repos they interact with. \ No newline at end of file