-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Add GPL license header to source files
Included GPL license header in all source files across the project. This ensures legal compliance and clarifies the software's licensing terms. Signed-off-by: Christian Roessner <[email protected]>
- Loading branch information
Christian Roessner
committed
Sep 11, 2024
1 parent
30bbd83
commit a8a4120
Showing
102 changed files
with
1,566 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,18 @@ RUN cd docker-healthcheck && go build -mod=vendor -ldflags="-s" -o healthcheck . | |
RUN cd contrib/smtp-server && go build -mod=vendor -ldflags="-s" -o fakesmtp . | ||
RUN cd contrib/imap-server && go build -mod=vendor -ldflags="-s" -o fakeimap . | ||
|
||
# Create the SBOM using Syft | ||
RUN apk --no-cache add curl | ||
RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin | ||
RUN chmod +x /usr/local/bin/syft | ||
RUN syft dir:/build -o json > /build/sbom.json | ||
|
||
FROM --platform=$BUILDPLATFORM alpine:3.20 | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/croessner/nauthilus" | ||
LABEL org.opencontainers.image.description="Multi purpose authentication server" | ||
LABEL org.opencontainers.image.licenses=AGPL-3 | ||
LABEL org.opencontainers.image.licenses=GPL3 | ||
LABEL com.roessner-network-solutions.vendor="Rößner-Network-Solutions" | ||
|
||
WORKDIR /usr/app | ||
|
@@ -39,6 +45,8 @@ COPY --from=builder ["/build/docker-healthcheck/healthcheck", "./"] | |
COPY --from=builder ["/build/contrib/smtp-server/fakesmtp", "./"] | ||
COPY --from=builder ["/build/contrib/imap-server/fakeimap", "./"] | ||
COPY --from=builder ["/build/static/", "./static/"] | ||
COPY --from=builder ["/build/sbom.json", "./"] | ||
|
||
COPY --from=builder ["/usr/local/go/lib/time/zoneinfo.zip", "/"] | ||
|
||
# set up nsswitch.conf for Go's "netgo" implementation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,18 @@ ENV CGO_ENABLED=0 | |
RUN pwd && ls -a | ||
RUN cd blocklist && go build -mod=vendor -ldflags="-s" -o blocklist . | ||
|
||
# Create the SBOM using Syft | ||
RUN apk --no-cache add curl | ||
RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin | ||
RUN chmod +x /usr/local/bin/syft | ||
RUN syft dir:/build -o json > /build/sbom.json | ||
|
||
FROM --platform=$BUILDPLATFORM alpine:3.20 | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.source="https://github.com/croessner/nauthilus" | ||
LABEL org.opencontainers.image.description="Blocklist HZZP server" | ||
LABEL org.opencontainers.image.licenses=AGPL-3 | ||
LABEL org.opencontainers.image.licenses=GPL33 | ||
LABEL com.roessner-network-solutions.vendor="Rößner-Network-Solutions" | ||
|
||
WORKDIR /usr/app | ||
|
@@ -27,6 +33,7 @@ RUN apk --no-cache --upgrade add ca-certificates bash curl | |
|
||
# Copy binary to destination image | ||
COPY --from=builder ["/build/blocklist", "./"] | ||
COPY --from=builder ["/build/sbom.json", "./"] | ||
COPY --from=builder ["/usr/local/go/lib/time/zoneinfo.zip", "/"] | ||
|
||
ENV ZONEINFO=/zoneinfo.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.