-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-setup.sh
50 lines (40 loc) · 1.36 KB
/
docker-setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
# install prereqs
apt-get update
apt-get install -y apt-utils
apt-get install -y software-properties-common
apt-get install -y gnupg
# install llvm
apt-get -y upgrade
apt-get install -y wget
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal main"
# install text editors and terminals
add-apt-repository ppa:jonathonf/vim
apt-get update
apt-get -y upgrade
apt-get install -y emacs
# vim -c PlugInstall -c qa
apt-get install -y vim
apt-get install -y tmux
# debug tools
apt-get install -y gdb valgrind
# install C stuff
apt-get install -y gcc clang-10 clang-format-10 make
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-10 100
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-10 100
# install miscellaneous things I can't categorise
apt-get install -y lldb-3.8
apt-get install -y git-all
apt-get install -y curl
apt-get install -y sudo
apt-get install -y net-tools
apt-get install -y traceroute
apt-get install -y dnsutils
apt-get install -y zip
# prevent errors about no dialog installed when attempting to use apt inside container
apt-get install -y dialog
# install manpages
apt-get install -y man man-db manpages-posix manpages-dev manpages-posix-dev
apt-get install -y neofetch