File tree Expand file tree Collapse file tree 3 files changed +72
-103
lines changed
Expand file tree Collapse file tree 3 files changed +72
-103
lines changed Original file line number Diff line number Diff line change 2525 - {"name": "centos7", "file": "centos7"}
2626 - {"name": "centos8", "file": "centos8"}
2727 - {"name": "ubuntu2004", "version": "20.04", "file": "ubuntu2004"}
28+ - {"name": "ubuntu2204", "version": "22.04", "file": "ubuntu2204"}
2829 - {"name": "ubuntu2404", "version": "24.04", "file": "ubuntu2404"}
2930 steps :
3031 - uses : actions/checkout@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ ARG DEBIAN_FRONTEND=noninteractive
4+ ENV TZ=Asia/Shanghai
5+ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6+ ENV LANG=en_US.utf8
7+ SHELL ["/bin/bash", "-c"]
8+
9+ RUN apt update && apt install -y --no-install-recommends \
10+ autoconf \
11+ ca-certificates \
12+ curl \
13+ gettext \
14+ gnupg2 \
15+ libc-dev \
16+ libcurl4-gnutls-dev \
17+ libexpat1-dev \
18+ libldap2-dev \
19+ libreadline-dev \
20+ libssl-dev \
21+ libz-dev \
22+ locales-all \
23+ lsb-release \
24+ m4 \
25+ make \
26+ ncurses-dev \
27+ ninja-build \
28+ openssh-client \
29+ python3-dev \
30+ python3-pip \
31+ sudo \
32+ tzdata \
33+ unzip \
34+ wget \
35+ xz-utils \
36+ lcov \
37+ build-essential \
38+ clang \
39+ clang-format \
40+ clang-tidy \
41+ clang-tools \
42+ vim \
43+ ccache \
44+ git \
45+ cmake \
46+ && rm -rf /var/lib/apt/lists/*
47+
48+ WORKDIR /root
49+
50+ ENV CCACHE_CPP2=1
51+
52+ # Install nebula third-party master
53+ RUN git clone https://github.com/vesoft-inc/nebula-third-party.git \
54+ && cd nebula-third-party \
55+ && ./install-third-party.sh \
56+ && cd .. && rm -rf nebula-third-party
57+
58+ # fastcov
59+ RUN pip3 install --no-cache-dir fastcov
60+
61+ # Install ossutil
62+ RUN curl https://gosspublic.alicdn.com/ossutil/install.sh | bash
63+
64+ #Install minio client
65+ RUN if [ "$(uname -m)" = "x86_64" ]; then \
66+ curl -O https://dl.min.io/client/mc/release/linux-amd64/mc; \
67+ else \
68+ curl -O https://dl.min.io/client/mc/release/linux-arm64/mc; \
69+ fi \
70+ && chmod +x mc \
71+ && mv mc /usr/local/bin/
You can’t perform that action at this time.
0 commit comments