-
Notifications
You must be signed in to change notification settings - Fork 60
/
Dockerfile
75 lines (66 loc) · 1.77 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
bat \
binutils \
clang \
cscope \
ctags \
curl \
emacs \
fd-find \
fish \
fzf \
gcc \
gdb \
git \
grub2 \
htop \
language-pack-en \
llvm \
locate \
make \
ncurses-dev \
neovim \
netcat \
perl \
python3 \
python3-pip \
qemu-system-x86 \
silversearcher-ag \
software-properties-common \
ssh \
tig \
tmux \
valgrind \
xorriso \
xxd
# for powerline
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
RUN add-apt-repository -y ppa:lazygit-team/release && \
apt-get update && \
apt-get install -y fonts-powerline lazygit
RUN pip3 install -U pandas numpy seaborn scipy matplotlib docopt
# install nvim plugins before I get in
RUN sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' && \
git clone https://github.com/khale/neovim-config && \
mkdir -p /root/.config/nvim && \
mv neovim-config/init.vim /root/.config/nvim/ && \
rm -rf neovim-config && \
nvim --headless +PlugInstall +qall
RUN git clone https://github.com/khale/dotfiles && \
mkdir -p /root/.config/fish && \
mv dotfiles/fish-config /root/.config/fish/config.fish && \
mv dotfiles/gitnow-config ~/.gitflow && \
git clone https://github.com/khale/fisher-config && \
mv fisher-config/fishfile /root/.config/fish/ && \
rm -rf fisher-config && \
git clone https://github.com/khale/.tmux && \
cp .tmux/.tmux.conf /root && \
cp .tmux/.tmux.conf.local /root
WORKDIR /hack
CMD ["/usr/bin/fish"]