Skip to content

Commit 31520ce

Browse files
committed
Fix up devcontainer
1 parent 5f68a66 commit 31520ce

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ RUN apt-get update \
1717
git \
1818
procps \
1919
wget \
20+
nodejs \
21+
npm \
2022
&& rm -rf /var/lib/apt/lists/*
2123

24+
RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
2225

2326
ENV \
2427
# Enable detection of running in a container

.devcontainer/install-dotnets.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ fi
1212

1313
# Add additional versions if required
1414
DOTNET_VERSIONS=(
15-
# 'latest'
16-
'5.0.408'
15+
'latest'
16+
'LTS'
17+
'STS'
1718
)
1819
for version in ${DOTNET_VERSIONS[@]}; do
1920
echo "installing dotnet $version"
20-
/bin/bash dotnet-install.sh --verbose --version $version
21+
/bin/bash dotnet-install.sh --verbose --channel $version
2122
done

0 commit comments

Comments
 (0)