Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Add caddy-l4 plugin and update caddy
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Oct 3, 2024
1 parent cc227af commit a6d9494
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
ARG CADDY_VERSION=2.4.6
ARG CADDY_VERSION=2.8.4
FROM caddy:${CADDY_VERSION}-builder AS builder

RUN xcaddy build \
--with github.com/lucaslorentz/caddy-docker-proxy/plugin \
--with github.com/caddy-dns/cloudflare \
--with github.com/ggicci/caddy-jwt
--with github.com/ggicci/caddy-jwt \
--with github.com/mholt/caddy-l4

FROM caddy:${CADDY_VERSION}-alpine

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

CMD ["caddy", "docker-proxy"]
CMD ["caddy", "docker-proxy"]

0 comments on commit a6d9494

Please sign in to comment.