Skip to content

Commit c1dcc9e

Browse files
authored
Merge pull request #17 from dash14/license/third-party-notices
Add third-party license notices for GPL and other bundled components
2 parents 6381504 + 9198c48 commit c1dcc9e

File tree

4 files changed

+137
-3
lines changed

4 files changed

+137
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,9 @@ If you find buildcage helpful, please consider giving it a star ⭐ on GitHub!
440440
This software is provided "as is", without warranty of any kind, express or implied. The authors and contributors are not liable for any damages, losses, or security incidents arising from the use of this software. Use at your own risk.
441441

442442
## License
443-
Licensed under the MIT License.
444-
See [LICENSE](./LICENSE) file for more details.
443+
The buildcage source code is licensed under the MIT License. See [LICENSE](./LICENSE) file for details.
444+
445+
The Docker image includes third-party components under their own licenses (GPL, Apache 2.0, ISC, etc.). See [THIRD_PARTY_LICENSES](./THIRD_PARTY_LICENSES) for the full list.
445446

446447
## Acknowledgments
447448

THIRD_PARTY_LICENSES

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
Third-Party Licenses
2+
====================
3+
4+
The buildcage Docker image includes the following third-party software.
5+
Each component retains its original license. The buildcage source code
6+
itself is licensed under the MIT License (see LICENSE file).
7+
8+
------------------------------------------------------------------------------
9+
10+
HAProxy
11+
Website : https://www.haproxy.org/
12+
License : GNU General Public License v2.0 or later (GPL-2.0-or-later)
13+
Source : https://git.haproxy.org/ or via Alpine Linux source packages
14+
15+
------------------------------------------------------------------------------
16+
17+
dnsmasq
18+
Website : https://thekelleys.org.uk/dnsmasq/doc.html
19+
License : GNU General Public License v2.0 or v3.0 (GPL-2.0-only OR GPL-3.0-only)
20+
Source : https://thekelleys.org.uk/gitweb/?p=dnsmasq.git or via Alpine Linux
21+
source packages
22+
23+
------------------------------------------------------------------------------
24+
25+
BuildKit (base image: moby/buildkit)
26+
Website : https://github.com/moby/buildkit
27+
License : Apache License 2.0 (Apache-2.0)
28+
Source : https://github.com/moby/buildkit
29+
30+
------------------------------------------------------------------------------
31+
32+
CNI Plugins
33+
Website : https://github.com/containernetworking/plugins
34+
License : Apache License 2.0 (Apache-2.0)
35+
Source : https://github.com/containernetworking/plugins
36+
37+
------------------------------------------------------------------------------
38+
39+
s6-overlay
40+
Website : https://github.com/just-containers/s6-overlay
41+
License : ISC License
42+
Source : https://github.com/just-containers/s6-overlay
43+
44+
------------------------------------------------------------------------------
45+
46+
QuickJS
47+
Website : https://bellard.org/quickjs/
48+
License : MIT License
49+
Source : https://github.com/nicedoc/nicedoc.io or https://bellard.org/quickjs/
50+
51+
------------------------------------------------------------------------------
52+
53+
Note on GPL components (HAProxy, dnsmasq):
54+
55+
These components are installed from the Alpine Linux official package
56+
repository. Their source code is available through:
57+
58+
1. The upstream project repositories listed above
59+
2. Alpine Linux source packages:
60+
https://pkgs.alpinelinux.org/packages
61+
62+
The buildcage source code (MIT License) is not derived from, linked to,
63+
or combined with the GPL-licensed components. They are independent programs
64+
distributed together in a Docker image as an aggregate work, consistent
65+
with GPL v2 Section 2.

docker/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FROM moby/buildkit:${BUILDKIT_VERSION}
1717

1818
LABEL org.opencontainers.image.title="buildcage" \
1919
org.opencontainers.image.description="Secure Docker build environment with network access control" \
20-
org.opencontainers.image.licenses="MIT" \
20+
org.opencontainers.image.licenses="MIT AND GPL-2.0-or-later" \
2121
org.opencontainers.image.source="https://github.com/dash14/buildcage"
2222

2323
RUN apk add --no-cache \
@@ -62,6 +62,9 @@ COPY files/haproxy.cfg.template /etc/haproxy/haproxy.cfg.template
6262
# Tools (QuickJS scripts)
6363
COPY files/tools/ /opt/buildcage/tools/
6464

65+
# License
66+
COPY files/THIRD_PARTY_LICENSES /opt/buildcage/THIRD_PARTY_LICENSES
67+
6568
# s6 service definitions and init scripts
6669
COPY files/s6-rc.d/ /etc/s6-overlay/s6-rc.d/
6770
COPY files/s6-scripts/ /etc/s6-overlay/scripts/

docker/files/THIRD_PARTY_LICENSES

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
Third-Party Licenses
2+
====================
3+
4+
The buildcage Docker image includes the following third-party software.
5+
Each component retains its original license. The buildcage source code
6+
itself is licensed under the MIT License (see LICENSE file).
7+
8+
------------------------------------------------------------------------------
9+
10+
HAProxy
11+
Website : https://www.haproxy.org/
12+
License : GNU General Public License v2.0 or later (GPL-2.0-or-later)
13+
Source : https://git.haproxy.org/ or via Alpine Linux source packages
14+
15+
------------------------------------------------------------------------------
16+
17+
dnsmasq
18+
Website : https://thekelleys.org.uk/dnsmasq/doc.html
19+
License : GNU General Public License v2.0 or v3.0 (GPL-2.0-only OR GPL-3.0-only)
20+
Source : https://thekelleys.org.uk/gitweb/?p=dnsmasq.git or via Alpine Linux
21+
source packages
22+
23+
------------------------------------------------------------------------------
24+
25+
BuildKit (base image: moby/buildkit)
26+
Website : https://github.com/moby/buildkit
27+
License : Apache License 2.0 (Apache-2.0)
28+
Source : https://github.com/moby/buildkit
29+
30+
------------------------------------------------------------------------------
31+
32+
CNI Plugins
33+
Website : https://github.com/containernetworking/plugins
34+
License : Apache License 2.0 (Apache-2.0)
35+
Source : https://github.com/containernetworking/plugins
36+
37+
------------------------------------------------------------------------------
38+
39+
s6-overlay
40+
Website : https://github.com/just-containers/s6-overlay
41+
License : ISC License
42+
Source : https://github.com/just-containers/s6-overlay
43+
44+
------------------------------------------------------------------------------
45+
46+
QuickJS
47+
Website : https://bellard.org/quickjs/
48+
License : MIT License
49+
Source : https://github.com/nicedoc/nicedoc.io or https://bellard.org/quickjs/
50+
51+
------------------------------------------------------------------------------
52+
53+
Note on GPL components (HAProxy, dnsmasq):
54+
55+
These components are installed from the Alpine Linux official package
56+
repository. Their source code is available through:
57+
58+
1. The upstream project repositories listed above
59+
2. Alpine Linux source packages:
60+
https://pkgs.alpinelinux.org/packages
61+
62+
The buildcage source code (MIT License) is not derived from, linked to,
63+
or combined with the GPL-licensed components. They are independent programs
64+
distributed together in a Docker image as an aggregate work, consistent
65+
with GPL v2 Section 2.

0 commit comments

Comments
 (0)