yihua commented on code in PR #19674:
URL: https://github.com/apache/hudi/pull/19674#discussion_r3833826681


##########
packaging/bundle-validation/native_spark/Dockerfile:
##########
@@ -0,0 +1,37 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# A glibc image with Java 17, which the native bundle needs and the shared 
bundle-validation base
+# image cannot provide: that one is Alpine based, so its JVMs are musl linked 
and Comet's
+# glibc-linked libcomet.so cannot load into them. Kept separate from the 
shared base image so this
+# does not change how any other bundle is validated.
+FROM eclipse-temurin:17-jdk
+
+ARG SPARK_VERSION=3.5.5
+ARG SPARK_HADOOP_VERSION=3
+
+RUN apt-get update \
+    && apt-get install -y --no-install-recommends wget \
+    && rm -rf /var/lib/apt/lists/*
+
+RUN mkdir /opt/native-bundle-validation
+ENV WORKDIR=/opt/native-bundle-validation
+
+RUN wget -q 
https://archive.apache.org/dist/spark/spark-$SPARK_VERSION/spark-$SPARK_VERSION-bin-hadoop$SPARK_HADOOP_VERSION.tgz
 -P "$WORKDIR" \

Review Comment:
   This is to build the new bundle validation image, which will not be executed 
on every PR.  We'll upload new bundle validation images that work with the 
hudi-native-spark-bundle.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to