-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathDockerfile
23 lines (17 loc) · 793 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM golang:alpine3.20 AS builder
RUN apk --no-cache --no-progress add make git gcc musl-dev ca-certificates
WORKDIR /src/
COPY . .
RUN make build
FROM alpine:3.20
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /src/mjolnir /usr/bin/mjolnir
LABEL "name"="Mjolnir"
LABEL "com.github.actions.name"="Closes issues related to a merged pull request."
LABEL "com.github.actions.description"="This is an Action to close issues related to a merged pull request."
LABEL "com.github.actions.icon"="git-merge"
LABEL "com.github.actions.color"="purple"
LABEL "repository"="http://github.com/ldez/gha-mjolnir"
LABEL "homepage"="http://github.com/ldez/gha-mjolnir"
LABEL "maintainer"="ldez <[email protected]>"
ENTRYPOINT [ "/usr/bin/mjolnir" ]