Skip to content

Commit 8262ebc

Browse files
authored
Merge pull request #310 from glennsarti/update-devc
(maint) Add Pwsh to Dev Container
2 parents af244fb + 1b5bfab commit 8262ebc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ ARG USER_UID=1000
1717
ARG USER_GID=$USER_UID
1818

1919
# Configure apt and install packages
20-
RUN apt-get update \
20+
RUN wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb \
21+
&& dpkg -i packages-microsoft-prod.deb \
22+
&& apt-get update \
2123
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
2224
# Verify git, process tools installed
2325
&& apt-get -y install git openssh-client less iproute2 procps lsb-release \
@@ -26,6 +28,9 @@ RUN apt-get update \
2628
&& gem install ruby-debug-ide \
2729
&& gem install debase \
2830
#
31+
# Install PowerShell
32+
&& apt-get install -y powershell \
33+
#
2934
# Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
3035
&& groupadd --gid $USER_GID $USERNAME \
3136
&& useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \

0 commit comments

Comments
 (0)