From 9a204c42425cdc95f0f2428b4a7c64fb46e5cb58 Mon Sep 17 00:00:00 2001 From: coderzc Date: Thu, 11 Jul 2024 18:48:55 +0800 Subject: [PATCH] Bump pulsar version to 3.3.0.6 --- scripts/run-integration-tests.sh | 2 +- scripts/test-docker/Dockerfile | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/scripts/run-integration-tests.sh b/scripts/run-integration-tests.sh index ef00e35f..c44df4d7 100755 --- a/scripts/run-integration-tests.sh +++ b/scripts/run-integration-tests.sh @@ -3,7 +3,7 @@ set -e readonly PROJECT_ROOT=`cd $(dirname $0)/..; pwd` readonly IMAGE_NAME=pulsarctl-test -readonly PULSAR_DEFAULT_VERSION="3.0.1.1" +readonly PULSAR_DEFAULT_VERSION="3.3.0.6" readonly PULSAR_VERSION=${PULSAR_VERSION:-${PULSAR_DEFAULT_VERSION}} docker build --build-arg PULSAR_VERSION=${PULSAR_VERSION} \ diff --git a/scripts/test-docker/Dockerfile b/scripts/test-docker/Dockerfile index f1eb3a0d..530c4cb2 100644 --- a/scripts/test-docker/Dockerfile +++ b/scripts/test-docker/Dockerfile @@ -1,22 +1,18 @@ ARG PULSAR_VERSION -FROM streamnative/pulsar-all:$PULSAR_VERSION +FROM snstage/pulsar-all:$PULSAR_VERSION # use root user USER root +# install required packages +RUN apk update && apk add curl git build-base + # install golang ENV GOLANG_VERSION 1.21.0 RUN curl -sSL https://storage.googleapis.com/golang/go$GOLANG_VERSION.linux-amd64.tar.gz \ | tar -C /usr/local -xz ENV PATH /usr/local/go/bin:$PATH -# install git -RUN apt update -RUN apt install git -y - -# install build-essential, includes gcc, g++ and make. -RUN apt install build-essential -y - # copy the code into image COPY . /pulsarctl