You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by wi...@apache.org on 2020/09/14 16:06:34 UTC
[incubator-streampipes-extensions] branch rel/0.67.0 updated:
[STREAMPIPES-240] add missing alpine pkgs to fix NullPointerException
This is an automated email from the ASF dual-hosted git repository.
wiener pushed a commit to branch rel/0.67.0
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-extensions.git
The following commit(s) were added to refs/heads/rel/0.67.0 by this push:
new 6b61a81 [STREAMPIPES-240] add missing alpine pkgs to fix NullPointerException
6b61a81 is described below
commit 6b61a81f3df731922c1997960644af47c78d5246
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Mon Sep 14 17:59:47 2020 +0200
[STREAMPIPES-240] add missing alpine pkgs to fix NullPointerException
---
streampipes-pipeline-elements-all-jvm/Dockerfile | 7 ++++++-
streampipes-pipeline-elements-all-jvm/aarch64.Dockerfile | 5 +++++
streampipes-pipeline-elements-all-jvm/arm.Dockerfile | 5 +++++
streampipes-processors-image-processing-jvm/Dockerfile | 5 ++++-
streampipes-processors-image-processing-jvm/aarch64.Dockerfile | 5 +++++
streampipes-processors-image-processing-jvm/arm.Dockerfile | 5 +++++
6 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/streampipes-pipeline-elements-all-jvm/Dockerfile b/streampipes-pipeline-elements-all-jvm/Dockerfile
index c6277b8..cb544ba 100644
--- a/streampipes-pipeline-elements-all-jvm/Dockerfile
+++ b/streampipes-pipeline-elements-all-jvm/Dockerfile
@@ -13,13 +13,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ARG BASE_IMAGE=adoptopenjdk/openjdk9-openj9:alpine
+ARG BASE_IMAGE=adoptopenjdk/openjdk8-openj9:alpine-slim
FROM $BASE_IMAGE
ENV CONSUL_LOCATION consul
EXPOSE 8090
+# needed pkgs processors-image-processing-jvm
+RUN apk --update add --no-cache \
+ fontconfig \
+ ttf-dejavu
+
COPY target/streampipes-processors-all-jvm.jar /streampipes-processing-element-container.jar
ENTRYPOINT ["java", "-jar", "/streampipes-processing-element-container.jar"]
diff --git a/streampipes-pipeline-elements-all-jvm/aarch64.Dockerfile b/streampipes-pipeline-elements-all-jvm/aarch64.Dockerfile
index 95c7574..73651b0 100644
--- a/streampipes-pipeline-elements-all-jvm/aarch64.Dockerfile
+++ b/streampipes-pipeline-elements-all-jvm/aarch64.Dockerfile
@@ -21,6 +21,11 @@ ENV CONSUL_LOCATION consul
EXPOSE 8090
COPY qemu-aarch64-static /usr/bin
+# needed pkgs processors-image-processing-jvm
+RUN apk --update add --no-cache \
+ fontconfig \
+ ttf-dejavu
+
COPY target/streampipes-processors-all-jvm.jar /streampipes-processing-element-container.jar
ENTRYPOINT ["java", "-jar", "/streampipes-processing-element-container.jar"]
diff --git a/streampipes-pipeline-elements-all-jvm/arm.Dockerfile b/streampipes-pipeline-elements-all-jvm/arm.Dockerfile
index 5e668ef..ca87e4e 100644
--- a/streampipes-pipeline-elements-all-jvm/arm.Dockerfile
+++ b/streampipes-pipeline-elements-all-jvm/arm.Dockerfile
@@ -21,6 +21,11 @@ ENV CONSUL_LOCATION consul
EXPOSE 8090
COPY qemu-arm-static /usr/bin
+# needed pkgs processors-image-processing-jvm
+RUN apk --update add --no-cache \
+ fontconfig \
+ ttf-dejavu
+
COPY target/streampipes-processors-all-jvm.jar /streampipes-processing-element-container.jar
ENTRYPOINT ["java", "-jar", "/streampipes-processing-element-container.jar"]
diff --git a/streampipes-processors-image-processing-jvm/Dockerfile b/streampipes-processors-image-processing-jvm/Dockerfile
index 3a3b0da..63c07b9 100644
--- a/streampipes-processors-image-processing-jvm/Dockerfile
+++ b/streampipes-processors-image-processing-jvm/Dockerfile
@@ -19,7 +19,10 @@ FROM $BASE_IMAGE
ENV CONSUL_LOCATION consul
EXPOSE 8090
+# needed pkgs processors-image-processing-jvm
+RUN apk --update add --no-cache \
+ fontconfig \
+ ttf-dejavu
COPY target/streampipes-processors-image-processing-jvm.jar /streampipes-processing-element-container.jar
-
ENTRYPOINT ["java", "-jar", "/streampipes-processing-element-container.jar"]
diff --git a/streampipes-processors-image-processing-jvm/aarch64.Dockerfile b/streampipes-processors-image-processing-jvm/aarch64.Dockerfile
index 3659bbc..5ee23da 100644
--- a/streampipes-processors-image-processing-jvm/aarch64.Dockerfile
+++ b/streampipes-processors-image-processing-jvm/aarch64.Dockerfile
@@ -21,6 +21,11 @@ ENV CONSUL_LOCATION consul
EXPOSE 8090
COPY qemu-aarch64-static /usr/bin
+# needed pkgs processors-image-processing-jvm
+RUN apk --update add --no-cache \
+ fontconfig \
+ ttf-dejavu
+
COPY target/streampipes-processors-image-processing-jvm.jar /streampipes-processing-element-container.jar
ENTRYPOINT ["java", "-jar", "/streampipes-processing-element-container.jar"]
diff --git a/streampipes-processors-image-processing-jvm/arm.Dockerfile b/streampipes-processors-image-processing-jvm/arm.Dockerfile
index 14917a2..71eb151 100644
--- a/streampipes-processors-image-processing-jvm/arm.Dockerfile
+++ b/streampipes-processors-image-processing-jvm/arm.Dockerfile
@@ -21,6 +21,11 @@ ENV CONSUL_LOCATION consul
EXPOSE 8090
COPY qemu-arm-static /usr/bin
+# needed pkgs processors-image-processing-jvm
+RUN apk --update add --no-cache \
+ fontconfig \
+ ttf-dejavu
+
COPY target/streampipes-processors-image-processing-jvm.jar /streampipes-processing-element-container.jar
ENTRYPOINT ["java", "-jar", "/streampipes-processing-element-container.jar"]