Skip to content

Instantly share code, notes, and snippets.

@VadimBrodsky
Last active February 2, 2019 21:02
Show Gist options
  • Save VadimBrodsky/256c31eb1848676a72ab460a6dd55fc9 to your computer and use it in GitHub Desktop.
Save VadimBrodsky/256c31eb1848676a72ab460a6dd55fc9 to your computer and use it in GitHub Desktop.
Docker Workstation
# https://github.com/thornycrackers/docker-neovim/blob/master/Dockerfile
FROM ubuntu:18.04
# Better terminal support
ENV TERM screen-256color
ENV DEBIAN_FRONTEND noninteractive
# Update and install
RUN apt-get update && apt-get install -y \
htop \
fish \
curl \
wget \
git \
software-properties-common \
python-dev \
python-pip \
python3-dev \
python3-pip \
locales
# Locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# Neovim
RUN add-apt-repository ppa:neovim-ppa/stable
RUN apt-get update && apt-get install -y \
neovim
# Install Neovim plugins
RUN nvim -i NONE -c PlugInstall -c quitall > /dev/null 2>&1
# asdf
RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.6.3
RUN echo 'source ~/.asdf/asdf.fish' >> ~/.config/fish/config.fish
RUN mkdir -p ~/.config/fish/completions; and cp ~/.asdf/completions/asdf.fish ~/.config/fish/completions
# node
RUN asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
# ruby
RUN asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git
# rust
RUN asdf plugin-add rust https://github.com/code-lever/asdf-rust.git
RUN git clone https://github.com/VadimBrodsky/dotfiles.git ~/dotfiles
# RUN ~/dotfiles/install
CMD ["/usr/bin/fish"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment