This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new 6cb705bc0 BIGTOP-4526. Upgrade the base Docker image of Rocky 9.
(#1395)
6cb705bc0 is described below
commit 6cb705bc0a11ab58dae39f1dd2cde3632c224869
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Sun Jun 14 15:56:23 2026 +0900
BIGTOP-4526. Upgrade the base Docker image of Rocky 9. (#1395)
---
docker/bigtop-puppet/build.sh | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/docker/bigtop-puppet/build.sh b/docker/bigtop-puppet/build.sh
index 8ebc9e4be..af7071d3f 100755
--- a/docker/bigtop-puppet/build.sh
+++ b/docker/bigtop-puppet/build.sh
@@ -28,8 +28,15 @@ if [ $# != 1 ]; then
fi
PREFIX=$(echo "$1" | cut -d '-' -f 1)
+
OS=$(echo "$1" | cut -d '-' -f 2)
+case "$OS" in
+ rockylinux) REPO="rockylinux/rockylinux" ;;
+ *) REPO="$OS" ;;
+esac
+
VERSION=$(echo "$1" | cut -d '-' -f 3-)
+
ARCH=$(uname -m)
case "$ARCH" in
aarch64|arm64) ARCH="aarch64" ;;
@@ -43,7 +50,7 @@ fi
cp ../../bigtop_toolchain/bin/puppetize.sh .
cat >Dockerfile <<EOF
-FROM ${OS}:${VERSION}
+FROM ${REPO}:${VERSION}
MAINTAINER [email protected]
COPY puppetize.sh /tmp/puppetize.sh
${ENV_PATH}