You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2023/07/19 06:05:35 UTC

[streampipes] branch dev updated: [hotfix] Add Nats image, modify Dockerfile base image

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

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new e13951a26 [hotfix] Add Nats image, modify Dockerfile base image
e13951a26 is described below

commit e13951a2629bd2f3275f578abd164551cb21199d
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 19 08:04:09 2023 +0200

    [hotfix] Add Nats image, modify Dockerfile base image
---
 .github/workflows/build.yml                                       | 8 ++++++++
 .../Dockerfile                                                    | 4 ++--
 streampipes-service-core/Dockerfile                               | 2 +-
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 85ac7418a..d8c3ef43b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -70,6 +70,14 @@ jobs:
           push: true
           tags: ${{ env.DOCKERHUB_APACHE_REPO }}/backend:${{ env.MVN_VERSION }}
 
+      - name: Build and Push Docker Backend Nats Image
+        uses: docker/build-push-action@v4
+        with:
+          context: ./streampipes-service-core-nats
+          platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
+          push: true
+          tags: ${{ env.DOCKERHUB_APACHE_REPO }}/backend-nats:${{ env.MVN_VERSION }}
+
       - name: Build UI
         working-directory: ./ui
         run: |
diff --git a/streampipes-service-core/Dockerfile b/streampipes-service-core-nats/Dockerfile
similarity index 89%
copy from streampipes-service-core/Dockerfile
copy to streampipes-service-core-nats/Dockerfile
index 974f92d13..fd2c7ffe9 100644
--- a/streampipes-service-core/Dockerfile
+++ b/streampipes-service-core-nats/Dockerfile
@@ -13,8 +13,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM eclipse-temurin:17-jre-alpine
+FROM eclipse-temurin:17-jre-focal
 
-COPY target/streampipes-core.jar  /streampipes-core.jar
+COPY target/streampipes-core-nats.jar  /streampipes-core.jar
 
 ENTRYPOINT ["java", "-jar", "/streampipes-core.jar"]
diff --git a/streampipes-service-core/Dockerfile b/streampipes-service-core/Dockerfile
index 974f92d13..e4f4faf4e 100644
--- a/streampipes-service-core/Dockerfile
+++ b/streampipes-service-core/Dockerfile
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM eclipse-temurin:17-jre-alpine
+FROM eclipse-temurin:17-jre-focal
 
 COPY target/streampipes-core.jar  /streampipes-core.jar