Skip to content

Commit

Permalink
Merge pull request #379 from Azure/vscode
Browse files Browse the repository at this point in the history
Add vscode install to Tools and install nodejs 18
  • Loading branch information
robins1212 authored Feb 21, 2024
2 parents f6c0cc9 + 317bfe3 commit b9dd996
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linux/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN bash ./tdnfinstall.sh \

# Install nodejs
RUN bash ./tdnfinstall.sh \
nodejs
nodejs18

ENV NPM_CONFIG_LOGLEVEL warn
ENV NODE_ENV production
Expand Down
6 changes: 6 additions & 0 deletions linux/tools.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ RUN az aks install-cli \
&& chmod +x /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubelogin

# Install vscode
RUN wget -nv -O vscode.tar.gz "https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64" \
&& tar -xvzf vscode.tar.gz \
&& mv ./code /bin/vscode \
&& rm vscode.tar.gz

# Install azure-developer-cli (azd)
ENV AZD_IN_CLOUDSHELL 1
ENV AZD_SKIP_UPDATE_CHECK 1
Expand Down
2 changes: 1 addition & 1 deletion tests/PSinLinuxCloudShellImage.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Describe "Various programs installed with expected versions" {

It "Static Versions" {
# These programs are installed explicitly with specific versions
$script:pmap["Node.JS"].Version | Should -Be '16.20.2'
$script:pmap["Node.JS"].Version | Should -Be '18.18.2'
$script:pmap["PowerShell"].Version | Should -BeLike '7.4*'
}

Expand Down
3 changes: 2 additions & 1 deletion tests/command_list
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,7 @@ vipw
virtualenv
visudo
vmstat
vscode
w
wait
wall
Expand Down Expand Up @@ -1436,4 +1437,4 @@ zstd
zstdcat
zstdgrep
zstdless
zstdmt
zstdmt

0 comments on commit b9dd996

Please sign in to comment.