This is an automated email from the ASF dual-hosted git repository. vterentev pushed a commit to branch playground-openjdk21 in repository https://gitbox.apache.org/repos/asf/beam.git
commit e1a89b5b4594513313e93d9792f25cdd30104ca1 Author: Vitaly Terentyev <[email protected]> AuthorDate: Tue Nov 4 22:26:14 2025 +0400 Fix scio playground --- 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()]) }
