v3 work... lots of things

This commit is contained in:
zach rice committed 2019-11-10 13:30:43 -05:00
1 parent f3360cbf66
commit b55d88dc15
215 files changed
+5513 -4218

No files matched your search

+5 -5
View File
@@ -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 :