mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-03 04:38:48 +00:00
Advance the provider control-plane source builder and integration mock builder on Pulse PR #2275's reviewed 1.26.8 Alpine digest. Keep their exact compiler image locked by an installability proof and record what this does not qualify. The published prebuilt runtime path is unchanged. Change-source: pulse-maintainer
18 lines
473 B
Docker
18 lines
473 B
Docker
FROM golang:1.26.8-alpine@sha256:8ac98ca534ac3f51e1f420a1dd2c15e74c75cfa0f23f3ad27eb5d7236c349a0c 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:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
|
|
RUN apk --no-cache add ca-certificates
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /build/mock-github-server .
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["./mock-github-server"]
|