Skip to content

Commit 5a0d0fa

Browse files
committed
adjustments to devcontainer as per PR review
1 parent 957a274 commit 5a0d0fa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/base:bullseye
1+
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/base:bullseye
22

33
# Install .NET SDK 2.1
44
RUN apt-get update \
@@ -22,9 +22,10 @@ RUN git clone https://github.com/jasongin/nvs "${NVS_HOME}" \
2222
&& nvs use 20.19.0 \
2323
&& nvs link 20.19.0
2424

25-
# Install Rush globally
25+
# Install Rush and AutoRest globally
2626
RUN . "${NVS_HOME}/nvs.sh" \
27-
&& npm install -g @microsoft/[email protected]
27+
&& npm install -g @microsoft/[email protected] \
28+
&& npm install -g autorest@latest
2829

2930
# Add nvs to shell profiles
3031
RUN echo 'export NVS_HOME="$HOME/.nvs"' >> ~/.bashrc \

0 commit comments

Comments
 (0)