File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ COPY pkg/ pkg/
1919
2020# Build
2121ARG TARGETOS TARGETARCH
22- RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -o service cmd/service/main.go
22+ RUN GOOS=" $TARGETOS" GOARCH=" $TARGETARCH" CGO_ENABLED=0 go build -a -o service cmd/service/main.go
2323
2424# Use distroless as minimal base image to package the service binary
2525# Refer to https://github.com/GoogleContainerTools/distroless for more details
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ COPY pkg/ pkg/
2020
2121# Build
2222ARG TARGETOS TARGETARCH
23- RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -o manager main.go
23+ RUN GOOS=" $TARGETOS" GOARCH=" $TARGETARCH" CGO_ENABLED=0 go build -a -o manager main.go
2424
2525# Use distroless as minimal base image to package the manager binary
2626# Refer to https://github.com/GoogleContainerTools/distroless for more details
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ COPY main.go main.go
1818
1919# Build
2020ARG TARGETOS TARGETARCH
21- RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -o lurker main.go
21+ RUN GOOS=" $TARGETOS" GOARCH=" $TARGETARCH" CGO_ENABLED=0 go build -a -o lurker main.go
2222
2323# Use distroless as minimal base image to package the manager binary
2424# Refer to https://github.com/GoogleContainerTools/distroless for more details
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ COPY utils/ utils/
2222
2323# Build
2424ARG TARGETOS TARGETARCH
25- RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -o manager main.go
25+ RUN GOOS=" $TARGETOS" GOARCH=" $TARGETARCH" CGO_ENABLED=0 go build -a -o manager main.go
2626
2727# Use distroless as minimal base image to package the manager binary
2828# Refer to https://github.com/GoogleContainerTools/distroless for more details
Original file line number Diff line number Diff line change 44
55FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS builder
66ARG scannerVersion
7- RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go install github.com/ffuf/ffuf/v2@$scannerVersion
7+ RUN GOOS=" $TARGETOS" GOARCH=" $TARGETARCH" CGO_ENABLED=0 go install github.com/ffuf/ffuf/v2@$scannerVersion
88
99RUN mkdir -p /home/ffuf/.config/ffuf
1010RUN mkdir -p /home/ffuf/.config/ffuf/scraper
You can’t perform that action at this time.
0 commit comments