-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
21 lines (17 loc) · 869 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
set -e
export DEBIAN_FRONTEND=noninteractive
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc"
# Install VS Code for use in desktop if needed
curl -sSL ${MICROSOFT_GPG_KEYS_URI} | gpg --dearmor > /usr/share/keyrings/microsoft-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list
apt-get update
apt-get -y install code code-insiders
# Setup Fluxbox menus
mkdir -p /root/.fluxbox /home/node/.fluxbox
cp -f /tmp/fluxbox/* /root/.fluxbox/
cp -f /tmp/fluxbox/* /home/node/.fluxbox/
chown -R node:node /home/node/.fluxbox
echo "export DONT_PROMPT_WSL_INSTALL=true" | tee -a /etc/bash.bashrc >> /etc/profile.d/not-wsl.sh
# Install firefox
apt-get install -y firefox-esr