-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
49 lines (39 loc) · 940 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
38
39
40
41
42
43
44
45
46
47
48
49
FROM ubuntu:22.04
ENV TZ=Asia/Tokyo
ENV LANG=en_US.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
LABEL org.opencontainers.image.source https://github.com/guni1192/dotfiles
RUN apt-get update -y \
&& apt-get install -y \
zsh \
tmux \
vim \
git \
locales \
apt-transport-https \
ca-certificates \
ninja-build \
gettext \
libtool \
libtool-bin \
autoconf \
automake \
cmake \
g++ \
pkg-config \
unzip \
curl \
doxygen \
&& rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US.UTF-8
RUN useradd guni -s /usr/bin/zsh -m -d /home/guni
USER guni
RUN git clone https://github.com/neovim/neovim /home/guni/neovim-src && \
cd /home/guni/neovim-src && \
make CMAKE_INSTALL_PREFIX=/home/guni/.local && \
make install && \
rm -rf /home/guni/neovim-src
WORKDIR /home/guni/dotfiles
COPY --chown=guni . .
RUN ./scripts/init.sh
ENTRYPOINT ["/usr/bin/zsh"]