-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
61 lines (57 loc) · 1.31 KB
/
Dockerfile
File metadata and controls
61 lines (57 loc) · 1.31 KB
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
# Use an Ubuntu base image
FROM ubuntu:devel
# Avoid prompts from apt
ENV DEBIAN_FRONTEND=noninteractive
ENV HOME=/home/lodemetz
# Update the system and install dependencies
RUN apt-get update \
&& apt-get upgrade -y && \
apt-get install --no-install-recommends -y \
neovim \
git \
curl \
wget \
luarocks \
btop \
ripgrep \
fd-find \
unzip \
build-essential \
cmake \
fish \
zoxide \
fzf \
tree \
neofetch \
nodejs \
npm \
libsqlite3-dev \
openssh-client \
llvm \
clangd \
valgrind \
cargo \
cmake \
bear \
bat \
tldr \
tmux \
python3-dev \
pipx \
tzdata && \
pipx install norminette && \
npm install -g tldr && \
luarocks-5.1 install jsregexp && \
rm -rf /root/.config/fish/ && \
rm -rf /root/.config/nvim/ && \
chsh -s /bin/fish && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# install lazygit
RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') && \
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" && \
tar xf lazygit.tar.gz lazygit && \
install lazygit /usr/local/bin
# setup ssh symlink
RUN ln -s /home/lodemetz/.ssh /root && \
rm -rf /home/lodemetz/.cache