This is an automated email from the ASF dual-hosted git repository. sciabarracom pushed a commit to branch 0.9.0 in repository https://gitbox.apache.org/repos/asf/openserverless-devcontainer.git
commit f0ac852c74af97e60b843db60d3706f9323f16da Author: Michele Sciabarra <[email protected]> AuthorDate: Sat Sep 5 10:07:10 2026 +0200 aligning licenses --- .asf.yaml | 17 ++ .github/workflows/check.yml | 1 - .github/workflows/image.yml | 2 +- .gitignore | 16 ++ .github/workflows/check.yml => .licenserc.yaml | 36 ++- DISCLAIMER | 11 + Dockerfile | 24 +- LICENSE | 315 +++++++++++++++++++++++++ NOTICE | 77 ++++++ README.md | 19 ++ Taskfile.yml | 5 + WARN | 93 ++++++++ start.sh | 17 ++ supervisord.ini | 17 ++ 14 files changed, 624 insertions(+), 26 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index ab59476..fe71b3d 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,3 +1,20 @@ +# 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. + github: rulesets: - name: "Default Branch Protection" diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 763789c..f349f9f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,7 +17,6 @@ # name: Check on: - push: pull_request: workflow_dispatch: diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 6849987..dc0cc82 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -19,7 +19,7 @@ name: Build Image on: push: tags: - - '[0-9]*' + - '*.*.*.*' branches-ignore: '*' workflow_dispatch: diff --git a/.gitignore b/.gitignore index febe6bc..593fd3a 100644 --- a/.gitignore +++ b/.gitignore @@ -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. _* .env diff --git a/.github/workflows/check.yml b/.licenserc.yaml similarity index 58% copy from .github/workflows/check.yml copy to .licenserc.yaml index 763789c..748f339 100644 --- a/.github/workflows/check.yml +++ b/.licenserc.yaml @@ -15,26 +15,18 @@ # specific language governing permissions and limitations # under the License. # -name: Check -on: - push: - pull_request: - workflow_dispatch: +header: + license: + spdx-id: Apache-2.0 + copyright-owner: Apache Software Foundation -jobs: - check: - name: Check OpenServerless Devcontainer - runs-on: ubuntu-22.04 - permissions: - contents: read - steps: - - name: Checkout - uses: actions/checkout@v7 - with: - submodules: recursive - - name: Setup - run: | - sudo sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin - # the image is built (not pushed) to verify the Dockerfile still works - - name: Build - run: task build + paths-ignore: + - '.git-hooks/pre-commit' + - '**/_*' + - 'LICENSE' + - 'NOTICE' + - 'DISCLAIMER' + - WARN + - '.env.dist' + - '.gitattributes' + - '**/.npmrc' diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 0000000..b505beb --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1,11 @@ +Apache OpenServerless (Incubating) is an effort undergoing incubation at the Apache +Software Foundation (ASF), sponsored by the Apache Incubator PMC. + +Incubation is required of all newly accepted projects until a further review +indicates that the infrastructure, communications, and decision making process +have stabilized in a manner consistent with other successful ASF projects. + +While incubation status is not necessarily a reflection of the completeness +or stability of the code, it does indicate that the project has yet to be +fully endorsed by the ASF. + diff --git a/Dockerfile b/Dockerfile index 0150a6b..8f7d7a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,20 @@ +# 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 node:22 ARG DEVCONTAINER_IMAGE_DEFAULT=docker.io/apache/openserverless-devcontainer @@ -5,9 +22,9 @@ ARG DEVCONTAINER_TAG_DEFAULT=latest # Install basic development tools RUN \ echo "deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \ - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \ + curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \ apt update && \ - apt install -y less man-db sudo vim jq python-is-python3 python3-virtualenv \ + apt install -y less sudo jq nano python-is-python3 python3-virtualenv \ locales postgresql-client-16 openssh-server tini supervisor # setup env @@ -32,5 +49,8 @@ ADD start.sh /usr/local/bin/start.sh RUN mkdir /home/workspace WORKDIR /home/workspace +# Apache release metadata (see DISCLAIMER, LICENSE, NOTICE, WARN) +COPY DISCLAIMER LICENSE NOTICE / + ENTRYPOINT ["tini", "--"] CMD ["/usr/local/bin/start.sh"] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b91aaad --- /dev/null +++ b/LICENSE @@ -0,0 +1,315 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + + +============================================================================== +BEGIN BUNDLED THIRD-PARTY SOFTWARE INVENTORY (container image) +============================================================================== + +============================================================================== +LICENSES OF BUNDLED THIRD-PARTY SOFTWARE +Container image: apache/openserverless-devcontainer +============================================================================== + +Apache OpenServerless itself is licensed under the Apache License, +Version 2.0, reproduced above. The container image built from the +Dockerfile beside this file additionally bundles the third-party +components listed below, each under its own license. + +Refer to https://www.apache.org/legal/resolved.html for the ASF +classification of these licenses. Components that are NOT compatible +with the Apache License 2.0 are enumerated in the WARN file. + +------------------------------------------------------------------------------ +Summary by license +------------------------------------------------------------------------------ + +Apache-2.0 + Apache OpenServerless CLI (ops) (main) + +BSD-2-Clause AND others + openssh-server ((Debian bookworm)) + +BSD-derived (Supervisor License) + supervisor ((Debian bookworm)) + +GPL-2.0-or-later AND LGPL-2.1-or-later + locales (glibc) ((Debian bookworm)) + +GPL-3.0-or-later + nano ((Debian bookworm)) + +GPL-3.0-or-later OR BSD-2-Clause + less ((Debian bookworm)) + +ISC AND BSD-3-Clause + sudo ((Debian bookworm)) + +MIT + Node.js (22) + jq ((Debian bookworm)) + python3-virtualenv ((Debian bookworm)) + tini ((Debian bookworm)) + +PSF-2.0 + python-is-python3 / python3 ((Debian bookworm)) + +PostgreSQL License (BSD-like) + postgresql-client-16 ((PGDG apt repo)) + +mixed; see WARN + (see the FROM line of the Dockerfile) (-) + +MIT-like (curl license) + curl ((Debian bookworm)) + +------------------------------------------------------------------------------ +Detail by component +------------------------------------------------------------------------------ + +Tools installed by the Dockerfile +--------------------------------- + Node.js (22) -- MIT + Base image node:22. + Apache OpenServerless CLI (ops) (main) -- Apache-2.0 + Installed from apache/openserverless-cli. + less ((Debian bookworm)) -- GPL-3.0-or-later OR BSD-2-Clause + *** SEE WARN *** + sudo ((Debian bookworm)) -- ISC AND BSD-3-Clause + jq ((Debian bookworm)) -- MIT + nano ((Debian bookworm)) -- GPL-3.0-or-later + *** SEE WARN *** + python-is-python3 / python3 ((Debian bookworm)) -- PSF-2.0 + python3-virtualenv ((Debian bookworm)) -- MIT + locales (glibc) ((Debian bookworm)) -- GPL-2.0-or-later AND LGPL-2.1-or-later + *** SEE WARN *** + postgresql-client-16 ((PGDG apt repo)) -- PostgreSQL License (BSD-like) + openssh-server ((Debian bookworm)) -- BSD-2-Clause AND others + tini ((Debian bookworm)) -- MIT + supervisor ((Debian bookworm)) -- BSD-derived (Supervisor License) + curl ((Debian bookworm)) -- MIT-like (curl license) + +Base operating system image +--------------------------- + (see the FROM line of the Dockerfile) (-) -- mixed; see WARN + Operating-system components are supplied by the upstream base image and are not + redistributed by the ASF in source form. + +------------------------------------------------------------------------------ +Full license texts +------------------------------------------------------------------------------ + +The complete text of the Apache License 2.0 is reproduced at the top of +this file. The complete texts of the other licenses referenced above are +distributed with each component inside the container image, in the +package metadata directories of the respective package manager: + + * Python packages: <site-packages>/<dist>.dist-info/ (LICENSE, METADATA) + * Node.js packages: /node_modules/<pkg>/LICENSE + * PHP packages: /phpAction/composer/vendor/<pkg>/LICENSE + * Go modules: vendored module sources / pkg.go.dev + * Debian packages: /usr/share/doc/<pkg>/copyright + +============================================================================== +END BUNDLED THIRD-PARTY SOFTWARE INVENTORY +============================================================================== diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..bfad71b --- /dev/null +++ b/NOTICE @@ -0,0 +1,77 @@ +Apache OpenServerless (Incubating) +Copyright 2024 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + +============================================================================== +BEGIN BUNDLED THIRD-PARTY SOFTWARE INVENTORY (container image) +============================================================================== + +------------------------------------------------------------------------------ +Container image: apache/openserverless-devcontainer +------------------------------------------------------------------------------ + +This image bundles third-party software. The components below are +redistributed under the licenses recorded in the LICENSE file that +accompanies this NOTICE. Components flagged '*** SEE WARN ***' are +listed in the WARN file as incompatible with the Apache License 2.0. + +Tools installed by the Dockerfile +--------------------------------- + * Node.js (22) + License: MIT + Base image node:22. + * Apache OpenServerless CLI (ops) (main) + License: Apache-2.0 + Installed from apache/openserverless-cli. + * less ((Debian bookworm)) + License: GPL-3.0-or-later OR BSD-2-Clause + *** SEE WARN *** + * sudo ((Debian bookworm)) + License: ISC AND BSD-3-Clause + * jq ((Debian bookworm)) + License: MIT + * nano ((Debian bookworm)) + License: GPL-3.0-or-later + *** SEE WARN *** + * python-is-python3 / python3 ((Debian bookworm)) + License: PSF-2.0 + * python3-virtualenv ((Debian bookworm)) + License: MIT + * locales (glibc) ((Debian bookworm)) + License: GPL-2.0-or-later AND LGPL-2.1-or-later + *** SEE WARN *** + * postgresql-client-16 ((PGDG apt repo)) + License: PostgreSQL License (BSD-like) + * openssh-server ((Debian bookworm)) + License: BSD-2-Clause AND others + * tini ((Debian bookworm)) + License: MIT + * supervisor ((Debian bookworm)) + License: BSD-derived (Supervisor License) + * curl ((Debian bookworm)) + License: MIT-like (curl license) + +Base operating system image +--------------------------- + * (see the FROM line of the Dockerfile) (-) + License: mixed; see WARN + Operating-system components are supplied by the upstream base image and are not + redistributed by the ASF in source form. + +------------------------------------------------------------------------------ +Attribution required by bundled components +------------------------------------------------------------------------------ + +This product includes software developed by the Apache Software +Foundation (http://www.apache.org/), including Apache OpenWhisk +components and Apache-2.0 licensed libraries listed above. + +This product includes software developed by third parties under the +MIT, BSD, ISC, PSF, MPL-2.0 and other licenses, as recorded in LICENSE. + +============================================================================== +END BUNDLED THIRD-PARTY SOFTWARE INVENTORY +============================================================================== diff --git a/README.md b/README.md index b23a41c..8d3f941 100644 --- a/README.md +++ b/README.md @@ -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. +--> + # DevContainer The devcontainer uses diff --git a/Taskfile.yml b/Taskfile.yml index 4b54c00..1d95102 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -161,3 +161,8 @@ tasks: - task: tag - task update-opsroot - task: ci + + license: + desc: check license + cmds: + - license-eye header check \ No newline at end of file diff --git a/WARN b/WARN new file mode 100644 index 0000000..4f25319 --- /dev/null +++ b/WARN @@ -0,0 +1,93 @@ +============================================================================== +WARN -- Apache License 2.0 incompatibilities +Container image: apache/openserverless-devcontainer +============================================================================== + +This file lists third-party components bundled by the Dockerfile beside +it whose licenses are NOT compatible with the Apache License, Version 2.0, +together with components that require special handling. + +Classification follows the ASF third-party licensing policy: + + https://www.apache.org/legal/resolved.html + + Category A Apache-2.0 compatible. May be included in a release. + Category B May be included in BINARY form only, unmodified and as a + separate file, with the reciprocal license disclosed. + Category X MUST NOT be included in an Apache release artifact. + +IMPORTANT SCOPE NOTE +------------------------------------------------------------------------------ +The Apache release artifact for OpenServerless is the SOURCE distribution, +which contains this Dockerfile and the files beside it -- all Apache-2.0 +licensed. The published container image is a CONVENIENCE BINARY assembled +at build time from third-party base images and package repositories. +Category X components inherited from a base operating system image are +disclosed below but are not redistributed by the ASF in source form. +Category X components that this Dockerfile ADDS on purpose must be removed. + + +============================================================================== +CATEGORY X +============================================================================== + + Component : nano + License : GPL-3.0-or-later + Category : X + Action : + GNU nano is GPL-3.0-or-later. Installed by the apt list in this Dockerfile, so it + is added on purpose and is NOT covered by the base-image disclosure below. + REMOVE `nano` from the apt install list, or replace it with an editor under a + Category A licence. + + +============================================================================== +CATEGORY X (as installed) +============================================================================== + + Component : less + License : GPL-3.0-or-later OR BSD-2-Clause + Category : X (as installed) + Action : + Debian ships `less` under the GPL-3.0 option. Developer convenience only. + REMOVE from the apt install list, or confirm the BSD-2-Clause option applies. + + +============================================================================== +CATEGORY X (as bundled) +============================================================================== + + Component : glibc / locales + License : GPL-2.0-or-later AND LGPL-2.1-or-later + Category : X (as bundled) + Action : + Part of the base operating system image. Not distributed by the ASF as source; + the ASF release is the Dockerfile only. No action required beyond this disclosure. + + Component : Debian/Ubuntu/Alpine base image userland + License : mixed, incl. GPL-2.0/GPL-3.0 + Category : X (as bundled) + Action : + The base image contains GPL-licensed operating-system components. The Apache release + artifact is the SOURCE (this Dockerfile and the files beside it); the published + container image is a convenience binary assembled from third-party base images. + No action required beyond this disclosure. + + +============================================================================== +SUMMARY OF REQUIRED REMOVALS (Category X added by this Dockerfile) +============================================================================== + + [ ] nano -- GPL-3.0-or-later + [ ] less -- GPL-3.0-or-later (Debian ships the GPL option) + +============================================================================== +ADDITIONAL NOTES +============================================================================== + +This is a DEVELOPER CONVENIENCE image. It deliberately bundles an interactive +shell environment, so it carries more GPL-licensed operating-system tooling +than the production images. It is not part of the deployed runtime and it is +published as a convenience binary only; the Apache release artifact remains +the Dockerfile and the scripts beside it. + diff --git a/start.sh b/start.sh index c067b6b..16b6eae 100755 --- a/start.sh +++ b/start.sh @@ -1,4 +1,21 @@ #!/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. + #setup sshd mkdir -p /run/sshd diff --git a/supervisord.ini b/supervisord.ini index dd5ab03..2761559 100644 --- a/supervisord.ini +++ b/supervisord.ini @@ -1,3 +1,20 @@ +; 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. + [supervisord] nodaemon=true logfile=/dev/null
