godot

command module
v0.0.0-...-a7052c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 10 Imported by: 0

README

Godot

Turns a dotfile repository into a Docker development environment.

Usage

Here's what you need to get started:

  • A GitHub repository with your dotfiles
  • A README.md document that describes your desired development environment
  • Docker
$ go get github.com/pmalmgren/godot
$ godot build https://github.com/pmalmgren/godot
$ docker run --rm -it dev-env
dev-shell$

Configuration

godot uses a YAML code block in a special section of your project's README.md to build a Docker image. A comprehensive example is given below.

godot configuration

godot configuration starts with a second level heading named godot configuration. godot will ignore anything in the top section, so feel free to add any documentation here.

username: godot
dotfile-directory: dotfiles
entrypoint: zsh
image-tag: dev-env

packages:
  - git
  - tmux
  - zsh
  - curl

# system-setup runs as root, define volumes etc.
system-setup:
  - RUN chsh -s /usr/bin/zsh $username

# user-setup runs as the user defined above in username.
user-setup:
  - RUN curl -L http://install.ohmyz.sh | sh || true
  - RUN curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  - RUN git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /home/$username/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
  - RUN rm .zshrc || true

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL