Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit d13b070

Browse files
author
Matt Schulte
committed
Added powershell to ubuntu setup script
1 parent a25722e commit d13b070

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

scripts/docker/setup-ubuntu.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,24 @@
55

66
# Warning! This will override your sources.list file!!
77

8-
# Copy off old sources.list file
9-
108
arch=amd64
119

10+
# Copy off old sources.list file
1211
cp /etc/apt/sources.list /etc/apt/sources.list.old
1312
echo "Backed up /etc/apt/sources.list to /etc/apt/sources.list.old"
1413

14+
# Copy over the new file
1515
cp sources.list /etc/apt/sources.list
1616
echo "Overwrote /etc/apt/sources.list with sources.list"
1717

18+
apt-get update
19+
20+
apt-get install wget -y
21+
22+
# Add Public microsoft repo keys to the image
23+
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
24+
dpkg -i packages-microsoft-prod.deb
25+
1826
if [ "$1" = "arm64" ]; then
1927
arch="arm64"
2028
fi
@@ -43,6 +51,7 @@ packages=(\
4351
git-lfs \
4452
nasm \
4553
cmake \
54+
powershell \
4655
libgl1-mesa-dev:$arch \
4756
libsoundio-dev:$arch \
4857
libjpeg-dev:$arch \

0 commit comments

Comments
 (0)