You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2019/05/05 14:29:02 UTC
[unomi] 03/03: - Fix issues with missing ASL headers - Improve
README to add instructions on how to build Docker image
This is an automated email from the ASF dual-hosted git repository.
shuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 8591255218f7821fde58141516e68c309c4571ff
Author: sergehuber <sh...@jahia.com>
AuthorDate: Sun May 5 16:15:32 2019 +0200
- Fix issues with missing ASL headers
- Improve README to add instructions on how to build Docker image
---
docker/README.md | 24 ++++++++++++++++++++++++
docker/docker-compose.yml | 16 ++++++++++++++++
docker/entrypoint.sh | 16 ++++++++++++++++
3 files changed, 56 insertions(+)
diff --git a/docker/README.md b/docker/README.md
index 0266199..e7db874 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -1,3 +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.
+ -->
+# Building Docker images
+
+You can build the docker image provided in this directory by using the following command:
+
+```
+docker build -t unomi .
+```
+
# Unomi Docker Image
## Running Unomi
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 5858b79..7017232 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -1,3 +1,19 @@
+################################################################################
+# 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.
+################################################################################
version: '2.2'
services:
elasticsearch:
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index b20fd80..bffbf5c 100755
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -1,3 +1,19 @@
+################################################################################
+# 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.
+################################################################################
#!/bin/sh
# Wait for heathy ElasticSearch