Files
drunkendotfiles/Dockerfile
T
dissimulo 4fa6f90a9e Strip vim entirely; EDITOR is nano
dissimulo does not use vim. Removes the editor, its config tree, its plugin
manager, and everything that would reinstall it on a re-bootstrap.

Deleted (82 files):
  vim/ (64)          the whole config tree, 1.7M
  doc/vim/ (8)       its documentation
  .vimrc, vimrc, .vim
  bin/yadr/vundle.rb, yadr-vim-{add,delete,list}-plugin
  bin/fix_macvim_external_display.sh   MacVim on macOS, dead here anyway
  vimify/            vi keybindings for readline/libedit, dropped on request

Edited:
  Rakefile        drop the vundle require, the vim install block, the
                  vundle_migration and install_vundle tasks, their two helper
                  methods, and the macvim homebrew line. Without this a
                  re-bootstrap would pull all of it straight back.
  install.sh      .vim/.vimrc out of the symlink list
  zsh/vi-mode.zsh EDITOR/VISUAL now nano. The zsh vi keybindings stay; they
                  are not vim.
  zsh/aliases.zsh yav/ydv/ylv, the MacVim detection block and ve removed;
                  ae/ze/gi now open nano
  git/gitconfig   mvimdiff mergetool removed, editor set to nano
  .tmux.conf      vim-tmux-navigator replaced with direct select-pane binds.
                  It ran ps piped to grep on EVERY C-h/j/k/l press to ask
                  whether vim held the pane: two forks per pane switch for a
                  question that can now only answer no. mode-keys and
                  status-keys vi stay, being tmux own key style, unrelated to
                  the editor.
  .gitignore/.dockerignore/Dockerfile   dead paths and the vim package

Also renames the installer banner to DRUNKENDOTFILES, piped through lolcat
when present with a plain-text fallback.

Left alone: the .yadr paths (renaming the checkout is a separate job), generic
swap-file ignores, the fasd viminfo support (third-party), and prose mentions.
2026-08-25 12:22:43 -07:00

52 lines
1.1 KiB
Docker

FROM ubuntu:18.04
LABEL maintainer="Luiz Filho <lfilho@gmail.com>"
ENV TERM xterm-256color
# Bootstrapping packages needed for installation
RUN \
apt-get update && \
apt-get install -yqq \
locales \
lsb-release \
software-properties-common && \
apt-get clean
# Set locale to UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
RUN localedef -i en_US -f UTF-8 en_US.UTF-8 && \
/usr/sbin/update-locale LANG=$LANG
# Install dependencies
# `universe` is needed for ruby
# `security` is needed for fontconfig and fc-cache
# Let the container know that there is no tty
RUN DEBIAN_FRONTEND=noninteractive \
add-apt-repository ppa:aacebedo/fasd && \
apt-get update && \
apt-get -yqq install \
autoconf \
build-essential \
curl \
fasd \
fontconfig \
git \
python \
python-setuptools \
python-dev \
ruby-full \
sudo \
tmux \
wget \
zsh && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install dotfiles
COPY . /root/.yadr
RUN cd /root/.yadr && rake install
# Run a zsh session
CMD [ "/bin/zsh" ]