-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
71 lines (55 loc) · 1.33 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
FROM debian
LABEL maintainer="srikarvgudipati@gmail.com"
ARG DEBIAN_FRONTEND=noninteractive
ENV PATH=/root/.volta/bin:$PATH
ENV TERM=xterm-256color
WORKDIR /root
# Install
RUN \
apt-get -qq -y update && \
apt-get install -qq -y --no-install-recommends \
ca-certificates \
cmake \
curl \
fd-find \
gcc \
gettext \
git \
less \
locales \
make \
ninja-build \
pipx \
python3-dev \
python3-setuptools \
ripgrep \
rsync \
stow \
sudo \
tldr \
tree \
unzip \
vim \
zsh
# Locale
RUN \
echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
echo "LANG=en_US.UTF-8" > /etc/locale.conf && \
locale-gen en_US.UTF-8
# https://github.com/neovim/neovim/wiki/Building-Neovim#quick-start
RUN git clone https://github.com/neovim/neovim /tmp/neovim
RUN cd /tmp/neovim && git checkout stable && make CMAKE_BUILD_TYPE=Release && make install
RUN ln -s $(which fdfind) /usr/bin/fd
RUN git clone --depth 1 https://github.com/junegunn/fzf.git /root/.fzf
RUN pipx install thefuck
RUN curl https://get.volta.sh | bash
RUN volta install node
COPY . /root/.Dotfiles
RUN cd /root/.Dotfiles && ./setup.sh -f
RUN /root/.fzf/install --all --no-bash
# Clean Up
RUN apt-get autoclean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Command to run
CMD [ "/bin/zsh" ]