From 6ad0a5ae008733fc22bd5c79d242be4ca3357a68 Mon Sep 17 00:00:00 2001 From: Dieter Blocher Date: Thu, 30 Jan 2025 13:28:42 +0100 Subject: [PATCH] Update .devcontainer/Dockerfile --- .devcontainer/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 973beb8..e417408 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -14,13 +14,13 @@ RUN . /etc/os-release \ && if [ "$(dpkg --print-architecture)" = "amd64" ]; then apt-get install -y mongodb-database-tools; fi \ && apt-get clean -y && rm -rf /var/lib/apt/lists/* -ARG USERNAME=node +# ARG USERNAME=node -RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \ - && mkdir /commandhistory \ - && touch /commandhistory/.bash_history \ - && chown -R $USERNAME /commandhistory \ - && echo "$SNIPPET" >> "/home/$USERNAME/.bashrc" +# RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \ +# && mkdir /commandhistory \ +# && touch /commandhistory/.bash_history \ +# && chown -R $USERNAME /commandhistory \ +# && echo "$SNIPPET" >> "/home/$USERNAME/.bashrc" # RUN rm -rf /home/node/.bash_history && touch /home/node/.bash_history && chown node:node /home/node/.bash_history