-
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.
Enhancement: Bump coredns 1.11 variants to 1.11.3
Signed-off-by: The Oh Brothers Bot <[email protected]>
- Loading branch information
1 parent
67ed6d1
commit 0fd8b5f
Showing
5 changed files
with
47 additions
and
23 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"coredns": { | ||
"versions": [ | ||
"1.11.1", | ||
"1.11.3", | ||
"1.10.1", | ||
"1.9.4", | ||
"1.8.7", | ||
|
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM coredns/coredns:1.11.3 AS base | ||
FROM alpine:3.15 AS final | ||
ARG TARGETPLATFORM | ||
ARG BUILDPLATFORM | ||
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM" | ||
|
||
COPY --from=base /coredns /coredns | ||
RUN set -eux; \ | ||
/coredns --version | grep '1.11.3' -A100 -B100 | ||
|
||
RUN apk add --no-cache ca-certificates | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
EXPOSE 53/tcp 53/udp | ||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- coredns "$@" | ||
fi | ||
|
||
exec "$@" |