From 91a226c999e1484f1a01a591dcdb19e1888b16c9 Mon Sep 17 00:00:00 2001 From: Dieter Blocher Date: Thu, 30 Jan 2025 10:09:36 +0000 Subject: [PATCH] Update Dockerfile --- .devcontainer/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 543dc1f..46475ca 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -14,6 +14,8 @@ 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/* +RUN rm -rf /home/node/.bash_history && touch /home/node/.bash_history && chown node:node /home/node/.bash_history + # [Optional] Uncomment this section to install additional OS packages. # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ # && apt-get -y install --no-install-recommends