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

danwatford pushed a commit to branch 
ofbiz-12796-license-headers-for-docker-files
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 23a51f941c198002a927df0b2c5583aae81cde79
Author: Daniel Watford <dan...@watfordconsulting.com>
AuthorDate: Tue Apr 11 16:44:59 2023 +0100

    Fixed: Added missing ASL2 headers to docker related files (OFBIZ-12796)
---
 .dockerignore                                         | 19 +++++++++++++++++++
 Dockerfile                                            | 19 +++++++++++++++++++
 .../after-config-applied.d/applySolrConfig.sh         | 19 +++++++++++++++++++
 docker/examples/postgres-demo/docker-compose.yml      | 19 +++++++++++++++++++
 docker/examples/postgres-demo/ofbiz-postgres.env      | 19 +++++++++++++++++++
 .../postgres-initdb.d/10-init-user-db.sh              | 19 +++++++++++++++++++
 docker/examples/postgres-demo/postgres.env            | 19 +++++++++++++++++++
 7 files changed, 133 insertions(+)

diff --git a/.dockerignore b/.dockerignore
index b9f34af116..24f2d41429 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,3 +1,22 @@
+#####################################################################
+# 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.
+#####################################################################
+
 Dockerfile
 .gradle/
 /bin/
diff --git a/Dockerfile b/Dockerfile
index 3509fc2ff4..23d7470c7e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,23 @@
 # syntax=docker/dockerfile:1
+#####################################################################
+# 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:17 AS builder
 
 # Git is used for various OFBiz build tasks.
diff --git 
a/docker/examples/postgres-demo/after-config-applied.d/applySolrConfig.sh 
b/docker/examples/postgres-demo/after-config-applied.d/applySolrConfig.sh
index 7ee4ad2857..71c891dfdb 100644
--- a/docker/examples/postgres-demo/after-config-applied.d/applySolrConfig.sh
+++ b/docker/examples/postgres-demo/after-config-applied.d/applySolrConfig.sh
@@ -1,4 +1,23 @@
 #!/usr/bin/env bash
+#####################################################################
+# 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.
+#####################################################################
+
 set -x
 
 if [ -d /ofbiz/plugins/solr ]; then
diff --git a/docker/examples/postgres-demo/docker-compose.yml 
b/docker/examples/postgres-demo/docker-compose.yml
index 65d8b94ce2..42c077d0fc 100644
--- a/docker/examples/postgres-demo/docker-compose.yml
+++ b/docker/examples/postgres-demo/docker-compose.yml
@@ -1,3 +1,22 @@
+#####################################################################
+# 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.4"
 
 services:
diff --git a/docker/examples/postgres-demo/ofbiz-postgres.env 
b/docker/examples/postgres-demo/ofbiz-postgres.env
index 682126eaa7..ebe1e567cb 100644
--- a/docker/examples/postgres-demo/ofbiz-postgres.env
+++ b/docker/examples/postgres-demo/ofbiz-postgres.env
@@ -1,3 +1,22 @@
+#####################################################################
+# 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.
+#####################################################################
+
 OFBIZ_POSTGRES_HOST=db
 
 OFBIZ_POSTGRES_OFBIZ_DB=ofbizmaindb
diff --git a/docker/examples/postgres-demo/postgres-initdb.d/10-init-user-db.sh 
b/docker/examples/postgres-demo/postgres-initdb.d/10-init-user-db.sh
index 3a91a85cba..d3130c15ed 100644
--- a/docker/examples/postgres-demo/postgres-initdb.d/10-init-user-db.sh
+++ b/docker/examples/postgres-demo/postgres-initdb.d/10-init-user-db.sh
@@ -1,4 +1,23 @@
 #!/bin/bash
+#####################################################################
+# 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.
+#####################################################################
+
 set -e
 
 psql -v ON_ERROR_STOP=1 --username "postgres" --dbname "postgres" <<-EOSQL
diff --git a/docker/examples/postgres-demo/postgres.env 
b/docker/examples/postgres-demo/postgres.env
index c8b98d69b0..86924ae3b2 100644
--- a/docker/examples/postgres-demo/postgres.env
+++ b/docker/examples/postgres-demo/postgres.env
@@ -1,2 +1,21 @@
+#####################################################################
+# 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.
+#####################################################################
+
 # Mandatory environment variable to set the password of the postgres superuser.
 POSTGRES_PASSWORD="20wganpfDASBtBXY7GQ6"
\ No newline at end of file

Reply via email to