Tweak install script
This commit is contained in:
parent
836a118fb8
commit
95ca549ae2
1 changed files with 6 additions and 3 deletions
|
|
@ -2,18 +2,21 @@
|
||||||
#
|
#
|
||||||
# This is my dotfiles setup script. It is invoked by coder.com instances.
|
# This is my dotfiles setup script. It is invoked by coder.com instances.
|
||||||
# We have this shared part of the setup, in setup.py, so let's run that first.
|
# We have this shared part of the setup, in setup.py, so let's run that first.
|
||||||
|
set -ex
|
||||||
|
|
||||||
MY_PATH=$(dirname "$0")
|
MY_PATH=$(dirname "$0")
|
||||||
cd $MY_PATH
|
cd $MY_PATH
|
||||||
|
|
||||||
|
# Run the basic setup.
|
||||||
python3 "./setup.py"
|
python3 "./setup.py"
|
||||||
|
|
||||||
# OK this stuff here is better in bash, and also is specific to setting up
|
# OK this stuff here is better in bash, and also is specific to setting up
|
||||||
# coder.com instances, so. Add packages that I want in my coder image.
|
# coder.com instances, so. Add packages that I want in my coder image.
|
||||||
sudo add-apt-repository ppa:kelleyk/emacs -y
|
sudo add-apt-repository ppa:kelleyk/emacs -y
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y fish emacs27-nox tmux
|
sudo apt-get install -y fish emacs-nox tmux gh
|
||||||
|
|
||||||
# NOTE: THIS NEEDS TO BE INSTALLED IN THE BASE IMAGE
|
# NOTE: THIS NEEDS TO BE INSTALLED IN THE BASE IMAGE OR CLANG DON'T RUN
|
||||||
sudo apt-get install -y libtinfo5
|
sudo apt-get install -y libtinfo5
|
||||||
|
|
||||||
# Change my shell to fish.
|
# Change my shell to fish.
|
||||||
|
|
@ -23,6 +26,6 @@ sudo chsh -s /usr/bin/fish $USER
|
||||||
# config.
|
# config.
|
||||||
git config --global include.path .gitconfig.shared
|
git config --global include.path .gitconfig.shared
|
||||||
|
|
||||||
# Install local rust
|
# Install local rust so I have rustfmt at the very least.
|
||||||
# (This should be in the image I think.)
|
# (This should be in the image I think.)
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue