This is an automated email from the ASF dual-hosted git repository.

xqhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e04af89c6f Fix scio playground (#36748)
5e04af89c6f is described below

commit 5e04af89c6f42bb3606cac6f14a55184b3c2bc63
Author: Vitaly Terentyev <[email protected]>
AuthorDate: Fri Nov 7 17:49:34 2025 +0400

    Fix scio playground (#36748)
---
 playground/backend/containers/scio/Dockerfile   | 14 +++++++++++---
 playground/backend/containers/scio/build.gradle |  2 +-
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/playground/backend/containers/scio/Dockerfile 
b/playground/backend/containers/scio/Dockerfile
index 9c9e0ffa32e..3d448b45906 100644
--- a/playground/backend/containers/scio/Dockerfile
+++ b/playground/backend/containers/scio/Dockerfile
@@ -15,7 +15,7 @@
 #  See the License for the specific language governing permissions and
 # limitations under the License.
 ###############################################################################
-ARG BASE_IMAGE=openjdk:11
+ARG BASE_IMAGE=eclipse-temurin:11
 FROM golang:1-bullseye AS build
 ARG GIT_COMMIT="<unknown>"
 ARG GIT_TIMESTAMP="0"
@@ -80,9 +80,17 @@ RUN chown -R appuser:appgroup 
/opt/playground/backend/executable_files/ && chmod
 RUN mkdir -p /opt/sbt-template
 RUN chown -R appuser:appgroup /opt/sbt-template
 
+ARG DEBIAN_FRONTEND=noninteractive
+RUN apt-get update \
+ && apt-get install -y --no-install-recommends unzip \
+ && rm -rf /var/lib/apt/lists/* \
+
 #Download spotify g8 template at specific commit
-ARG g8_commit=7c1ba7c1651dfd70976028842e721da4107c0d6d
-RUN wget https://codeload.github.com/spotify/scio.g8/zip/$g8_commit -O 
scio.g8.zip && unzip scio.g8.zip && mv scio.g8-$g8_commit /opt/scio.g8
+#ARG g8_commit=7c1ba7c1651dfd70976028842e721da4107c0d6d
+
+RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf 
/var/lib/apt/lists/*
+RUN git clone https://github.com/spotify/scio.g8 /opt/scio.g8 && \
+    cd /opt/scio.g8 && git checkout "7c1ba7c1651dfd70976028842e721da4107c0d6d"
 
 # Switch to appuser
 USER appuser
diff --git a/playground/backend/containers/scio/build.gradle 
b/playground/backend/containers/scio/build.gradle
index affb3c778cf..66319c8f8cd 100644
--- a/playground/backend/containers/scio/build.gradle
+++ b/playground/backend/containers/scio/build.gradle
@@ -71,7 +71,7 @@ docker {
    buildArgs(
          ['BASE_IMAGE'   : project.rootProject.hasProperty(["base-image"]) ?
                project.rootProject["base-image"] :
-               "openjdk:11",
+               "eclipse-temurin:11",
           'GIT_COMMIT'   : getGitCommitHash(),
           'GIT_TIMESTAMP': getGitCommitTimestamp()])
 }

Reply via email to