FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cli/.devcontainer/Dockerfile at main · v-Mathiyarasy/cli · GitHub
v-Mathiyarasy
/
cli
Public
forked from
devcontainers/cli
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cli
/
.devcontainer
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (13 loc) · 705 Bytes
Breadcrumbs
cli
/
.devcontainer
/
Dockerfile
Copy path
File metadata and controls
16 lines (13 loc) · 705 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
Copyright (c) Microsoft Corporation. All rights reserved.
#
Licensed under the MIT License. See License.txt in the project root for license information.
ARG
VARIANT=
"20-bookworm"
FROM
mcr.microsoft.com/devcontainers/typescript-node:1-${VARIANT}
RUN
mkdir -p /workspaces && chown node:node /workspaces
ARG
USERNAME=node
USER
$USERNAME
#
Save command line history
RUN
echo
"export HISTFILE=/home/$USERNAME/commandhistory/.bash_history"
>>
"/home/$USERNAME/.bashrc"
\
&& echo
"export PROMPT_COMMAND='history -a'"
>>
"/home/$USERNAME/.bashrc"
\
&& mkdir -p /home/$USERNAME/commandhistory \
&& touch /home/$USERNAME/commandhistory/.bash_history \
&& chown -R $USERNAME /home/$USERNAME/commandhistory
Back
|
FazBrowse Home
|
New Git URL