This repo contains my dotfiles, and a script to install them. It also contains a Dockerfile to create a dev image with the dotfiles baked in.
The following images are published to ghcr.io:
Image | Description |
---|---|
dlrobson/dotfiles/base | Base configuration for dotfiles |
dlrobson/dotfiles/rust | Dotfiles with configurations for Rust development |
dlrobson/dotfiles/latex | Dotfiles tailored for LaTeX development |
This workflow builds a target image for both amd64 and arm64, and pushes it to ghcr.io. This is used by other repos to build images and push them to ghcr.io.
First, ensure that all dependencies are installed:
sudo apt-get install -y stow git ca-certificates curl zsh tmux xsel
Clone the repo to your home directory, and setup the dotfiles:
git clone https://github.com/dlrobson/dotfiles.git
cd dotfiles
./setup.sh
See here for instructions on how to install the font.
Run:
docker build --progress=plain \
--build-arg UID=$(id -u) \
--build-arg GID=$(id -g) \
--build-arg BASE_IMAGE=<base-image> \
-t docker.io/dlrobson/dotfiles -f <path-to-dockerfile> <path-to-repo>