Skip to content

Commit

Permalink
style: prevent globbing and word splitting (#1543)
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 authored Jan 14, 2025
1 parent c4526b2 commit f320a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.23 AS build
WORKDIR /go/src/github.com/zricethezav/gitleaks
COPY . .
RUN VERSION=$(git describe --tags --abbrev=0) && \
CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X="github.com/zricethezav/gitleaks/v8/cmd.Version=${VERSION}
CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=${VERSION}"

FROM alpine:3.19
RUN apk add --no-cache bash git openssh-client
Expand Down

0 comments on commit f320a60

Please sign in to comment.