We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65f98a5 commit fee2e69Copy full SHA for fee2e69
1 file changed
.devcontainer/Dockerfile
@@ -1,16 +1 @@
1
-# Copyright (c) Microsoft Corporation. All rights reserved.
2
-# Licensed under the MIT License. See License.txt in the project root for license information.
3
-ARG VARIANT="20-bookworm"
4
-FROM mcr.microsoft.com/devcontainers/typescript-node:1-${VARIANT}
5
6
-RUN mkdir -p /workspaces && chown node:node /workspaces
7
-
8
-ARG USERNAME=node
9
-USER $USERNAME
10
11
-# Save command line history
12
-RUN echo "export HISTFILE=/home/$USERNAME/commandhistory/.bash_history" >> "/home/$USERNAME/.bashrc" \
13
- && echo "export PROMPT_COMMAND='history -a'" >> "/home/$USERNAME/.bashrc" \
14
- && mkdir -p /home/$USERNAME/commandhistory \
15
- && touch /home/$USERNAME/commandhistory/.bash_history \
16
- && chown -R $USERNAME /home/$USERNAME/commandhistory
0 commit comments