Skip to content

Commit d345a29

Browse files
Add typescript installation to dev container
Signed-off-by: Xavier Geerinck <[email protected]>
1 parent 9fd2ffb commit d345a29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,16 @@ RUN apt-get update \
4343
# Install Node 14.16 (latest LTS)
4444
&& nvm install v14.16.1 \
4545
#
46+
# Install Typescript Globally
47+
&& npm install -g typescript \
48+
#
4649
# Install Dapr CLI
4750
&& wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash \
51+
#
4852
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
4953
&& groupadd --gid $USER_GID $USERNAME \
5054
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
55+
#
5156
# [Optional] Add sudo support for the non-root user
5257
&& apt-get install -y sudo \
5358
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME\

0 commit comments

Comments
 (0)