mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
v3 work... lots of things
This commit is contained in:
1 parent
f3360cbf66
commit
b55d88dc15
215 files changed
+5513
-4218
No files matched your search
+5
-5
@@ -1,12 +1,12 @@
|
||||
FROM golang:1.11.6 AS build
|
||||
WORKDIR /go/src/github.com/zricethezav/gitleaks
|
||||
FROM golang:1.13.0 AS build
|
||||
WORKDIR /go/src/github.com/zricethezav/gitleaks-ng
|
||||
COPY . .
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 go build -o bin/gitleaks *.go
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 go build -o bin/gitleaks-ng *.go
|
||||
|
||||
FROM alpine:3.7
|
||||
RUN apk add --no-cache bash git openssh
|
||||
COPY --from=build /go/src/github.com/zricethezav/gitleaks/bin/* /usr/bin/
|
||||
ENTRYPOINT ["gitleaks"]
|
||||
COPY --from=build /go/src/github.com/zricethezav/gitleaks-ng/bin/* /usr/bin/
|
||||
ENTRYPOINT ["gitleaks-ng"]
|
||||
|
||||
# How to use me :
|
||||
|
||||
|
||||
Reference in new issue
Block a user