mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
rm vendor and updating dockerfile
This commit is contained in:
1 parent
8016dffe18
commit
4fd2f06a0d
947 files changed
+4
-359200
No files matched your search
+3
-3
@@ -1,7 +1,7 @@
|
||||
FROM golang:1.10.3 AS build
|
||||
FROM golang:1.11.6 AS build
|
||||
WORKDIR /go/src/github.com/zricethezav/gitleaks
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -o bin/gitleaks *.go
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 go build -o bin/gitleaks *.go
|
||||
|
||||
FROM alpine:3.7
|
||||
RUN apk add --no-cache bash git openssh
|
||||
@@ -11,6 +11,6 @@ ENTRYPOINT ["gitleaks"]
|
||||
# How to use me :
|
||||
|
||||
# docker build -t gitleaks .
|
||||
# docker run --rm --name=gitleaks gitleaks https://github.com/zricethezav/gitleaks
|
||||
# docker run --rm --name=gitleaks gitleaks --repo=https://github.com/zricethezav/gitleaks
|
||||
|
||||
# This will check for secrets in https://github.com/zricethezav/gitleaks
|
||||
Reference in new issue
Block a user