diff --git a/docker/runtime/base-image/Dockerfile_base b/docker/runtime/base-image/Dockerfile_base index a2bbdf43062b0f..c82aab5f5bfe96 100644 --- a/docker/runtime/base-image/Dockerfile_base +++ b/docker/runtime/base-image/Dockerfile_base @@ -28,11 +28,14 @@ ARG TARGETARCH RUN sed -i -e 's/^APT/# APT/' -e 's/^DPkg/# DPkg/' /etc/apt/apt.conf.d/docker-clean && \ apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - patchelf gdb binutils binutils-common mysql-client iperf3\ + patchelf gdb binutils binutils-common mysql-client iperf3 \ curl wget less vim htop iproute2 numactl jq iotop sysstat \ tcpdump iputils-ping dnsutils strace lsof blktrace tzdata \ bpfcc-tools linux-headers-realtime linux-tools-realtime silversearcher-ag \ + google-perftools libperl-dev python2-dev \ net-tools ca-certificates openssl && apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p /usr/lib/jvm/ && \ + ln -sf /usr/lib/linux-tools/`ls /usr/lib/linux-tools/`/perf /usr/bin/perf &&\ + ln -s /usr/bin/google-pprof /usr/bin/pprof && \ if echo $TARGETARCH | grep 'arm64' >>/dev/null ; then \ wget -c http://selectdb-doris-1308700295.cos.ap-beijing.myqcloud.com/toolkit/jdk/bisheng-jdk-17.0.10-linux-aarch64.tar.gz -O - | tar -xz -C /usr/lib/jvm/ && mv /usr/lib/jvm/bisheng-jdk-17.0.10/ /usr/lib/jvm/jdk-17 && \ wget -c http://selectdb-doris-1308700295.cos.ap-beijing.myqcloud.com/toolkit/jdk/bisheng-jdk-8u352-linux-aarch64.tar.gz -O - | tar -xz -C /usr/lib/jvm/ && mv /usr/lib/jvm/bisheng-jdk1.8.0_352/ /usr/lib/jvm/jdk-8; \ @@ -44,3 +47,6 @@ RUN sed -i -e 's/^APT/# APT/' -e 's/^DPkg/# DPkg/' /etc/apt/apt.conf.d/docker-cl COPY --from=apache/doris:debug-latest /doris-debug /opt/apache-doris/ WORKDIR /opt/apache-doris + +# The last update at: April 29, 2025. +# The docker image tag is changed to: base-2.0 diff --git a/docker/runtime/be/Dockerfile b/docker/runtime/be/Dockerfile index 612b18bc7f1fd0..925b0e92cd03d2 100644 --- a/docker/runtime/be/Dockerfile +++ b/docker/runtime/be/Dockerfile @@ -26,7 +26,7 @@ # get the binary from doris github and utar into resource, update the directory as apache-`version(example:2.0.1)`-bin-`architecture(amd64/arm64)` mode. # choose a base image -FROM apache/doris:base-latest +FROM apache/doris:base-2.0 ARG TARGETARCH diff --git a/docker/runtime/broker/Dockerfile b/docker/runtime/broker/Dockerfile index 3c6ed515e2c323..142dcdbec4c128 100644 --- a/docker/runtime/broker/Dockerfile +++ b/docker/runtime/broker/Dockerfile @@ -25,7 +25,7 @@ # we have support buildx for amd64 and arm64 architecture image build. # get the binary from doris github and utar into resource, update the directory as apache-`version(example:2.0.1)`-bin-`architecture(amd64/arm64)` mode. -FROM apache/doris:base-latest +FROM apache/doris:base-2.0 ARG TARGETARCH diff --git a/docker/runtime/fe/Dockerfile b/docker/runtime/fe/Dockerfile index 602f6f52879aa3..1f031600903be6 100644 --- a/docker/runtime/fe/Dockerfile +++ b/docker/runtime/fe/Dockerfile @@ -25,7 +25,7 @@ # we have support buildx for amd64 and arm64 architecture image build. # get the binary from doris github and utar into resource, update the directory as apache-`version(example:2.0.1)`-bin-`architecture(amd64/arm64)` mode. -FROM apache/doris:base-latest +FROM apache/doris:base-2.0 ARG TARGETARCH diff --git a/docker/runtime/ms/Dockerfile b/docker/runtime/ms/Dockerfile index 714f11e65e79a1..b8f42c9b1e350a 100644 --- a/docker/runtime/ms/Dockerfile +++ b/docker/runtime/ms/Dockerfile @@ -26,7 +26,7 @@ # get the binary from doris github and utar into resource, update the directory as apache-`version(example:3.0.0)`-bin-`architecture(amd64/arm64)` mode. # choose a base image -FROM apache/doris:base-latest +FROM apache/doris:base-2.0 ARG TARGETARCH