hugo-action/Containerfile

12 lines
186 B
Plaintext
Raw Normal View History

2023-12-31 11:23:51 +00:00
FROM docker.io/golang:1.21-alpine3.19 AS builder
ADD md2gmi.go /md2gmi.go
RUN go build -o /md2gmi /md2gmi.go
FROM scratch
COPY --from=builder /md2gmi /md2gmi
ENTRYPOINT ["/md2gmi"]