KAFKA-17738 upgrade base image from jdk8 to jdk11 (#17432)

Reviewers: Ken Huang <s7133700@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Yung 2024-10-10 09:28:22 +08:00 committed by GitHub
parent be24e1d608
commit c36b993af0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View File

@ -45,7 +45,7 @@ TC_PATHS="tests/kafkatest/tests/streams/streams_upgrade_test.py::StreamsUpgradeT
```
* Run tests with a specific image name
```
image_name="ducker-ak-openjdk-8" bash tests/docker/run_tests.sh
image_name="ducker-ak-openjdk-11" bash tests/docker/run_tests.sh
```
* Run tests with a different JVM
```

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
ARG jdk_version=openjdk:8
ARG jdk_version=openjdk:11
FROM $jdk_version AS build-native-image
WORKDIR /build
@ -60,7 +60,6 @@ ARG ducker_creator=default
LABEL ducker.creator=$ducker_creator
# Update Linux and install necessary utilities.
# we have to install git since it is included in openjdk:8 but not openjdk:11
RUN apt update && apt install -y sudo git netcat iptables rsync unzip wget curl jq coreutils openssh-server net-tools vim python3-pip python3-dev libffi-dev libssl-dev cmake pkg-config libfuse-dev iperf traceroute iproute2 iputils-ping && apt-get -y clean
RUN python3 -m pip install -U pip==21.1.1;
# NOTE: ducktape 0.11.4 requires python3.9

View File

@ -45,7 +45,7 @@ docker_run_memory_limit="2000m"
default_num_nodes=14
# The default OpenJDK base image.
default_jdk="openjdk:8"
default_jdk="openjdk:11"
# The default ducker-ak image name.
default_image_name="ducker-ak"