You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by vt...@apache.org on 2026/07/10 14:23:17 UTC

(beam) branch fix-scio created (now 0e787fd66d2)

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

Amar3tto pushed a change to branch fix-scio
in repository https://gitbox.apache.org/repos/asf/beam.git


      at 0e787fd66d2 Install sbt

This branch includes the following new commits:

     new 0e787fd66d2 Install sbt

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(beam) 01/01: Install sbt

Posted by vt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

Amar3tto pushed a commit to branch fix-scio
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 0e787fd66d2e59ef1b3f7010e40249fe3959e832
Author: Vitaly Terentyev <vi...@akvelon.com>
AuthorDate: Fri Jul 10 18:23:00 2026 +0400

    Install sbt
---
 playground/backend/containers/scio/Dockerfile | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/playground/backend/containers/scio/Dockerfile b/playground/backend/containers/scio/Dockerfile
index 3d448b45906..94360982f0b 100644
--- a/playground/backend/containers/scio/Dockerfile
+++ b/playground/backend/containers/scio/Dockerfile
@@ -53,10 +53,20 @@ COPY --from=build /go/src/playground/backend/internal/fs_tool/ExampleData.scala
 RUN chmod +x /opt/playground/backend/new_scio_project.sh
 
 # Install sbt
-RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list &&\
-echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list &&\
-curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add
-RUN apt-get update && apt-get install -y sbt
+RUN apt-get update \
+    && apt-get install -y --no-install-recommends \
+        ca-certificates \
+        curl \
+        gnupg \
+    && mkdir -p /etc/apt/keyrings \
+    && curl -fsSL \
+        "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" \
+      | gpg --dearmor -o /etc/apt/keyrings/scalasbt.gpg \
+    && echo "deb [signed-by=/etc/apt/keyrings/scalasbt.gpg] https://repo.scala-sbt.org/scalasbt/debian all main" \
+      > /etc/apt/sources.list.d/sbt.list \
+    && apt-get update \
+    && apt-get install -y --no-install-recommends sbt \
+    && rm -rf /var/lib/apt/lists/*
 
 COPY src/properties.yaml /opt/playground/backend/properties.yaml
 COPY entrypoint.sh /