mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-02 16:43:51 +00:00
8f3f67db92
Recompose the two Dependabot digest-only refreshes on current main, update the stale Node proof pin, and bind all six Alpine consumers to the same selected runtime image. Keep governed tag lines, release keys and exact-candidate consumption unchanged; source contracts do not claim a hosted image build or installed recovery. Change-source: pulse-maintainer
19 lines
474 B
Docker
19 lines
474 B
Docker
FROM golang:1.26.10-alpine@sha256:9ce231b28998b32e116927c61aa5c406183061d4f3f2d61b292c88e7f6bdf7ca AS builder
|
|
|
|
WORKDIR /build
|
|
COPY go.mod ./
|
|
RUN go mod download
|
|
|
|
COPY main.go ./
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -o mock-github-server .
|
|
|
|
FROM alpine:3.24@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a
|
|
RUN apk --no-cache add ca-certificates
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /build/mock-github-server .
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["./mock-github-server"]
|