-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile.ubuntu2404
71 lines (64 loc) · 1.51 KB
/
Dockerfile.ubuntu2404
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 ubuntu:24.04
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV LANG=en_US.utf8
SHELL ["/bin/bash", "-c"]
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y --no-install-recommends \
autoconf \
ca-certificates \
curl \
gettext \
gnupg2 \
libc-dev \
libcurl4-gnutls-dev \
libexpat1-dev \
libldap2-dev \
libreadline-dev \
libssl-dev \
libz-dev \
locales-all \
lsb-release \
m4 \
make \
ncurses-dev \
ninja-build \
openssh-client \
python3-dev \
pipx \
sudo \
tzdata \
unzip \
wget \
xz-utils \
lcov \
git \
cmake \
build-essential \
llvm-17 \
clang-17 \
clang-format-17 \
clang-tidy-17 \
clang-tools-17 \
libclang-rt-17-dev \
vim \
ccache \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root
# Install nebula third-party master
RUN git clone https://github.com/vesoft-inc/nebula-third-party.git \
&& cd nebula-third-party \
&& ./install-third-party.sh \
&& cd .. && rm -rf nebula-third-party
# fastcov
RUN pipx install fastcov && pipx ensurepath
# Install ossutil
RUN curl https://gosspublic.alicdn.com/ossutil/install.sh | bash
#Install minio client
RUN if [ "$(uname -m)" = "x86_64" ]; then \
curl -O https://dl.min.io/client/mc/release/linux-amd64/mc; \
else \
curl -O https://dl.min.io/client/mc/release/linux-arm64/mc; \
fi \
&& chmod +x mc \
&& mv mc /usr/local/bin/