Skip to content

Commit 179e37f

Browse files
Update Dockerfile
1 parent b4651df commit 179e37f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.devcontainer/Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License. See License.txt in the project root for license information.
3-
ARG VARIANT="16-bullseye"
4-
FROM mcr.microsoft.com/devcontainers/typescript-node:1-${VARIANT}
3+
#ARG VARIANT="16-bullseye"
4+
#FROM mcr.microsoft.com/devcontainers/typescript-node:1-${VARIANT}
55

6-
RUN mkdir -p /workspaces && chown node:node /workspaces
6+
#RUN mkdir -p /workspaces && chown node:node /workspaces
77

8-
ARG USERNAME=node
9-
USER $USERNAME
8+
#ARG USERNAME=node
9+
#USER $USERNAME
1010

1111
# 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
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

Comments
 (0)