init
This commit is contained in:
11
Containerfile
Normal file
11
Containerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM caddy:2.10-builder AS builder
|
||||
|
||||
RUN --mount=type=cache,target=/go/pkg/mod \
|
||||
--mount=type=cache,target=/root/.cache/go-build \
|
||||
xcaddy build \
|
||||
--with github.com/mholt/caddy-l4/modules/l4proxy \
|
||||
--with github.com/mholt/caddy-l4/modules/l4tls \
|
||||
--with github.com/mholt/caddy-l4/modules/l4proxyprotocol
|
||||
|
||||
FROM caddy:2.10
|
||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||
Reference in New Issue
Block a user