Skip to content
I had to setup my PC manually one too many times. Time to automate!
Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
lib
test
.bash_history
.gitignore
README.md
setup.sh

README.md

Setup

Setup a place like home. Fully automated arch setup script. Install all the packages, and all the CLI tools, everything.

Requirements

This setup does not configure Arch. Use a script like archfi for that. Once Arch is installed you need sudo, git and a user account:

pacman -S sudo git
useradd -m -g wheel -s /bin/bash <user>
passwd <user>

Run visudo and uncomment "%wheel ALL=(ALL) ALL". Once that is done simply run:

git clone https://github.com/glumpat/setup.git && cd setup && sudo ./setup.sh

Have a look at the script for more info.

Development

Testing

In order to test if your script you can utilize Docker with a custom image. Build it using

docker build -t 'glumpat/setup-test' .

Debugging specific parts of the script is possible by attaching to the image

docker run --rm -ti -v $PWD:/home/ glumpat/setup-test bash

To execute the entire install script execute

./test/docker-install.sh --debug

Deployment

Run gatsh to create a new distribution:

gatsh setup.sh >> dist/setup.sh
You can’t perform that action at this time.