

Our next section will be run as the new user we just created and will contain things we want to install that wouldn't or can't be installed with a package manager.Įxamples would include: dotfiles, vim-plugins, zsh-plugins, fzf, github cli, tmuxinator, among many others. Gpg-agent and ssh-agent passthrough is still a work in progress. # list of Docker images to use as base name for tags images: | ghcr.io/$ name: Docker meta id: meta uses: crazy-max/ghac with: name: Checkout the repo uses: actions/ Name: Push docker image to container registry runs-on: ubuntu-latest steps: We want our build process to trigger anytime a change to main is detected.Īdd the following lines to publish-docker-image.yml github/workflows/publish-docker-image.yml in your editor of choiceįirst, we need to name the work flow and define our trigger. github/workflows called publish-docker-image.yml github/workflows at the root of your userspace repository This is a longer tutorial, and we want to make sure that we are building successfully as we mosey along. The first thing we are going to do is configure a build process using GitHub Actions.

On changes made in Personal Dotfiles Repo (Optional).Except for a few things, we don't need to maintain userspace dependency installation across multiple operating systems.
#Dotbot ruby download
Most of our userspace dependency management is moved to alpine linux This will download the necessary files from the dotbot repo and install all.This is because most userspace dependency installation occurs in a build process and we publish our docker image to GitHub Container Registry.Minimal dependency installation on host.We achieve a lot of great benefits from this approach: We can also use Dotbot to install any necessary GUI applications on the host for increased usability of our container (terminal emulator, for example). The name of the game here is to use a docker container to house 90%-95% of our userspace dependencies and Dotbot to configure the container host machine to use the container like a binary. This tutorial assumes you have already followed the Dotfiles Repository tutorial or already have a Dotbot based repository. This tutorial will help you get started with using the dotbot-template to create a quickly replicatable userspace.
