Skip to content

Commit

Permalink
fix: Remove race condition testing from the test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkatronic committed Jun 26, 2023
1 parent 8045353 commit 2102abd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o ./vulnbot
# This stage is by default un-used, but allows us to easily run our tests inside
# of an actual Docker image.
FROM build as test
RUN go test -v -race ./...

# We do not use -race here because it is not supported on arm64
# https://github.com/golang/go/issues/29948
RUN go test -v ./...

# Final image uses a barebones image
FROM scratch AS release
Expand Down

0 comments on commit 2102abd

Please sign in to comment.