Skip to content

Commit 15daf18

Browse files
authored
[improve] Upgrade Alpine base image to 3.22 version (#24840)
1 parent ee33c99 commit 15daf18

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docker/kinesis-producer-alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

20-
ARG ALPINE_VERSION=3.21
20+
ARG ALPINE_VERSION=3.22
2121

2222
# Builds an Alpine image with kinesis_producer compiled for Alpine Linux / musl
2323

docker/pulsar/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

20-
ARG ALPINE_VERSION=3.21
20+
ARG ALPINE_VERSION=3.22
2121
ARG IMAGE_JDK_MAJOR_VERSION=21
2222

2323
# First create a stage with just the Pulsar tarball and scripts

src/update_python_protobuf_stubs_with_docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020

2121
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
2222

23-
# Create an inline docker container with alpine:3.21 base image and mount the current directory to it as the
23+
# Create an inline docker container with alpine:3.22 base image and mount the current directory to it as the
2424
# working directory and run the script inside the container.
25-
docker run --rm -v "$SCRIPT_DIR/..:/pulsar_src" -w /pulsar_src alpine:3.21 sh -c 'apk add --no-cache bash python3 && /pulsar_src/src/update_python_protobuf_stubs.sh'
25+
docker run --rm -v "$SCRIPT_DIR/..:/pulsar_src" -w /pulsar_src alpine:3.22 sh -c 'apk add --no-cache bash python3 && /pulsar_src/src/update_python_protobuf_stubs.sh'

tests/integration/src/test/java/org/apache/pulsar/tests/integration/containers/PulsarContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public abstract class PulsarContainer<SelfT extends PulsarContainer<SelfT>> exte
5757
public static final int BROKER_HTTP_PORT = 8080;
5858
public static final int BROKER_HTTPS_PORT = 8081;
5959

60-
public static final String ALPINE_IMAGE_NAME = "alpine:3.20";
60+
public static final String ALPINE_IMAGE_NAME = "alpine:3.22";
6161
public static final String DEFAULT_IMAGE_NAME = System.getenv().getOrDefault("PULSAR_TEST_IMAGE_NAME",
6262
"apachepulsar/pulsar-test-latest-version:latest");
6363
public static final String UPGRADE_TEST_IMAGE_NAME = System.getenv().getOrDefault("PULSAR_UPGRADE_TEST_IMAGE_NAME",

0 commit comments

Comments
 (0)