Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Build stage
FROM golang:1.25-bookworm AS builder
# golang:1.25.14-bookworm
FROM golang@sha256:3b4a11519ad929d1e1d261a12cff056f0c85b735253d7d861346b9c6f8b36437 AS builder

WORKDIR /app

Expand All @@ -14,7 +15,8 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o lightcms ./cmd/server

# Runtime stage (Debian for Cloudflare WARP support)
FROM debian:bookworm-slim
# debian:bookworm-20261104-slim
FROM debian@sha256:734a72b3d6142a71993b4bc580ca01d8ca687f77a2c422d96a961d3376b179bc

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates curl gnupg dbus bash \
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile.mcp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
# ghcr.io/metavert-io/lightcms-mcp

# Build stage
FROM golang:1.25-bookworm AS builder
# golang:1.25.14-bookworm
FROM golang@sha256:3b4a11519ad929d1e1d261a12cff056f0c85b735253d7d861346b9c6f8b36437 AS builder

WORKDIR /app

Expand All @@ -24,7 +25,8 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o lightcms-mcp ./cmd/mcp

# Runtime stage
FROM debian:bookworm-slim
# debian:bookworm-20261104-slim
FROM debian@sha256:734a72b3d6142a71993b4bc580ca01d8ca687f77a2c422d96a961d3376b179bc

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile.smithery
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM golang:1.24-alpine AS builder
# golang:1.25.14-alpine3.23
FROM golang@sha256:27b3069b25647beacd3745b0b2c83e2f9b8d3935455a32cd4531236ee1c960e0 AS builder
WORKDIR /app
RUN apk add --no-cache git
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o lightcms-mcp ./cmd/mcp

FROM alpine:latest
# alpine:3.23 (3.23.8)
FROM alpine@sha256:f3d55900449227ae9e237ede521e7b665d53a253b42065ba90b9db9275e198ad
WORKDIR /app
RUN apk --no-cache add ca-certificates
COPY --from=builder /app/lightcms-mcp .
Expand Down
Loading