-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
52 lines (43 loc) · 1.22 KB
/
Copy pathDockerfile
File metadata and controls
52 lines (43 loc) · 1.22 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
FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y \
# Compilers and builders
gcc \
clang \
clangd \
ninja-build \
make \
cmake \
valgrind \
python3 \
python3-pip \
python3-venv \
# Based tools
git \
wget \
curl \
zsh \
ssh \
vim \
zip \
unzip \
tar \
gzip
# New cmake for CLion (aarch64)
RUN mkdir cmake && cd cmake && wget \
https://cmake.org/files/v4.0/cmake-4.0.5-linux-aarch64.tar.gz && \
tar -xzf cmake-4.0.5-linux-aarch64.tar.gz
# New cmake for CLion (x86_64)
# RUN mkdir cmake && cd cmake && wget \
# https://cmake.org/files/v4.0/cmake-4.0.5-linux-x86_64.tar.gz && \
# tar -xzf cmake-4.0.5-linux-x86_64.tar.gz
# ZSH and OH_MY_ZSH
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
# And add fast-syntax-highlighting to your plugin list.
RUN git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git \
${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
RUN sed -i 's/plugins=(git)/plugins=(git fast-syntax-highlighting)/' ~/.zshrc
SHELL ["/usr/bin/zsh"]
WORKDIR /code
# CMD ["bin/zsh"]
# CMD ["bin/bash"]