-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create Dockerfile.ubuntu2404 * Update docker.yml * Update Dockerfile.ubuntu * Update Dockerfile.ubuntu2404 * Update Dockerfile.ubuntu2404 * Update Dockerfile.centos7 * Update Dockerfile.centos8 * Update Dockerfile.centos7 * Update Dockerfile.centos8 * Update Dockerfile.ubuntu * Update docker.yml
- Loading branch information
1 parent
94abfb2
commit 3790240
Showing
5 changed files
with
82 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
FROM ubuntu:noble | ||
|
||
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-get update && apt-get 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 \ | ||
python3-pip \ | ||
sudo \ | ||
tzdata \ | ||
unzip \ | ||
wget \ | ||
xz-utils \ | ||
lcov \ | ||
git \ | ||
cmake \ | ||
build-essential \ | ||
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 pip3 install --no-cache-dir fastcov | ||
|
||
# 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/ |