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 2022/06/29 17:45:52 UTC

[incubator-streampipes] branch dev updated: [STREAMPIPES-549] Add Dockerfile

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/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 57cf63153 [STREAMPIPES-549] Add Dockerfile
57cf63153 is described below

commit 57cf6315379fc5751a1ddfd1c3ae52617e60747c
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jun 29 19:45:44 2022 +0200

    [STREAMPIPES-549] Add Dockerfile
---
 .../streampipes-extensions-all-iiot/Dockerfile     | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/streampipes-extensions/streampipes-extensions-all-iiot/Dockerfile b/streampipes-extensions/streampipes-extensions-all-iiot/Dockerfile
new file mode 100644
index 000000000..99ba5270b
--- /dev/null
+++ b/streampipes-extensions/streampipes-extensions-all-iiot/Dockerfile
@@ -0,0 +1,27 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+FROM eclipse-temurin:11-jre-focal
+
+ENV CONSUL_LOCATION consul
+
+EXPOSE 8090
+
+# needed pkgs processors-image-processing-jvm
+RUN apt-get update && apt-get install ttf-dejavu-core && apt-get install fontconfig
+
+COPY target/streampipes-extensions-all-iiot.jar  /streampipes-extensions-all-iiot.jar
+
+ENTRYPOINT ["java", "-jar", "/streampipes-extensions-all-iiot.jar"]