Skip to content

Commit 1b5bfab

Browse files
committed
(maint) Add Pwsh to Dev Container
The release process uses PowerShell to deploy the release. This commit adds PowerShell to the development container so releases can be done from inside the container.
1 parent af244fb commit 1b5bfab

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)