-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
38 lines (27 loc) · 889 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM alpine:latest
RUN apk update --no-cache
RUN apk add \
neovim \
sudo bind-tools curl fd git jq \
zsh bash go
# ENV
ENV ROOT /root
ENV GOPATH $ROOT/.go
ENV PATH $GOPATH/bin:$PATH
WORKDIR $ROOT
# shell
ADD shell .dotfiles/shell
RUN ln -s $ROOT/.dotfiles/shell/zshrc $ROOT/.zshrc
RUN $ROOT/.dotfiles/shell/get_antibody.sh -b /usr/local/bin
# nvim
RUN mkdir -p $ROOT/.config/nvim/colors
RUN mkdir -p $ROOT/.config/nvim/autoload
ADD vim/vimrcs/vimrc.triage $ROOT/.config/nvim/init.vim
ADD vim/plugin $ROOT/.config/nvim/plugin
ADD vim/colors/gruvbox.vim $ROOT/.config/nvim/colors
RUN curl -fLo ~/.config/nvim/autoload/plug.vim \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
RUN nvim --headless +PlugInstall +qa
# Extra tools
RUN go get -u -ldflags "-w -s" github.com/taybart/fm
RUN go get -u -ldflags "-w -s" github.com/taybart/rest