mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
adding docker push support again to Make and fixed a go vet nit
This commit is contained in:
1 parent
648a7ba577
commit
4f0c9dcede
3 files changed
+45
-40
No files matched your search
+2
-1
@@ -1,7 +1,8 @@
|
||||
FROM golang:1.13.4 AS build
|
||||
WORKDIR /go/src/github.com/zricethezav/gitleaks
|
||||
ARG ldflags
|
||||
COPY . .
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 go build -o bin/gitleaks *.go
|
||||
RUN GO111MODULE=on CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X="${ldflags} *.go
|
||||
|
||||
FROM alpine:3.10
|
||||
RUN apk add --no-cache bash git openssh
|
||||
|
||||
Reference in new issue
Block a user