mirror of
https://github.com/ivuorinen/go-test-sarif.git
synced 2026-02-02 11:44:29 +00:00
11 lines
267 B
Docker
11 lines
267 B
Docker
FROM golang:1.24-alpine AS build
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN go build -o /go-test-sarif ./cmd/main.go
|
|
|
|
FROM alpine:3.22.0
|
|
COPY --from=build /go-test-sarif /go-test-sarif
|
|
COPY action/entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|