Skip to content

Commit

Permalink
delete strict check while building
Browse files Browse the repository at this point in the history
  • Loading branch information
oussamarouabah committed May 21, 2024
1 parent 8ae4eea commit 55009ea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ RUN go mod download
COPY cmd/storage-check /build
WORKDIR /build
ENV CGO_ENABLED=0
RUN curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $GOPATH/bin v2.18.2
RUN go build -v
RUN go test -v
RUN gosec -exclude=G107,G109,G304,G601 ./...
RUN groupadd -g 999 user && \
useradd -r -u 999 -g user user
FROM scratch
Expand Down

0 comments on commit 55009ea

Please sign in to comment.