-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use Go 1.21 for builds - Use caddy 2.7.5 for xbuilds
- Loading branch information
1 parent
f452dec
commit 6368bef
Showing
7 changed files
with
84 additions
and
144 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 was deleted.
Oops, something went wrong.
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,14 +1,12 @@ | ||
ARG CADDY_VERSION | ||
ARG TAG | ||
|
||
FROM caddy:${CADDY_VERSION}-builder-alpine AS builder | ||
|
||
ARG TAG | ||
ENV TAG ${TAG} | ||
FROM caddy:2.7.5-builder-alpine AS builder | ||
|
||
RUN xcaddy build \ | ||
--with github.com/Elegant996/scgi-transport@v${TAG} | ||
--with github.com/Elegant996/scgi-transport@v1.0.3 | ||
|
||
FROM caddy:2.7.5-alpine | ||
|
||
FROM caddy:${CADDY_VERSION}-alpine | ||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy | ||
|
||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy | ||
LABEL org.opencontainers.image.source="https://github.com/Elegant996/scgi-transport" | ||
LABEL org.opencontainers.image.description="SCGI reverse proxy transport module for Caddy" | ||
LABEL org.opencontainers.image.licenses="Apache-2.0" |
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.