manual-approval/Dockerfile
TakumiMukaiyama 743d75ebbc chore: update base image from alpine:3.14 (EOL) to alpine:3.23
Alpine 3.14 reached EOL in November 2024. Update to 3.23 (latest stable,
EOL: November 2027) to ensure continued security patch coverage.

Closes #211

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 12:30:27 +09:00

11 lines
324 B
Docker

FROM golang:1.24 AS builder
COPY . /var/app
WORKDIR /var/app
RUN go mod tidy
RUN CGO_ENABLED=0 go build -o app .
FROM alpine:3.23
LABEL org.opencontainers.image.source=https://github.com/trstringer/manual-approval
RUN apk update && apk add ca-certificates
COPY --from=builder /var/app/app /var/app/app
CMD ["/var/app/app"]