Initial commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2026-05-05 21:14:24 +02:00
commit ed26f3b6fb
2 changed files with 26 additions and 0 deletions

16
.drone.yml Normal file
View File

@@ -0,0 +1,16 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: https://git.ivasoft.cz
username:
from_secret: repo_user
password:
from_secret: repo_pass
repo: git.ivasoft.cz/sw/docker-caddy
tags:
- latest
- ${DRONE_TAG:-latest}

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
# Use the official Caddy builder
FROM caddy:builder AS builder
# Build Caddy with the Layer 4 module included
RUN xcaddy build \
--with github.com/mholt/caddy-l4
# Pull the compiled binary into the final lightweight image
FROM caddy:latest
COPY --from=builder /usr/bin/caddy /usr/bin/caddy