chore: fixes, converting to docker action

This commit is contained in:
2025-03-28 00:36:50 +02:00
parent a3514981f5
commit f5001f32b7
2 changed files with 11 additions and 11 deletions

View File

@@ -1,13 +1,9 @@
FROM golang:1.24-alpine AS build
RUN useradd -m appuser
USER appuser
WORKDIR /app
COPY . .
RUN go build -o /go-test-sarif ./cmd/main.go
FROM alpine:3.21.3
RUN useradd -m appuser
USER appuser
COPY --from=build /go-test-sarif /go-test-sarif
COPY action/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh