File tree Expand file tree Collapse file tree 4 files changed +2
-6
lines changed
Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ RUN CGO_CPPFLAGS="-D_FORTIFY_SOURCE=2 -fstack-protector-all" \
1717 # Makes memory exploitation harder.
1818 # Add a small overhead at compile time.
1919 GOFLAGS="-buildmode=pie" \
20- GOOS="linux" \
21- GOARCH="amd64" \
2220 go build -ldflags "-s -w" -trimpath -o app ${COMPONENT_BINARY_SOURCE_PATH}
2321
2422# Create a workspace to clone repos to.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ type: scanner
44parameters :
55 - name : repo_name
66 type : string
7- value : tree
7+ value : go-dvwa
88steps :
99 - name : scanner
1010 image : docker.io/securego/gosec:2.15.0
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ build-target:
2323 # Makes memory exploitation harder.
2424 # Add a small overhead at compile time.
2525 GOFLAGS="-buildmode=pie" \
26- GOOS="linux" \
27- GOARCH="amd64" \
2826 go build -ldflags "-s -w" -trimpath -o target ./cmd/git-clone/main.go
2927
3028image :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ type: target
44parameters :
55 - name : repo_url
66 type : string
7- value : https://github.com/andream16/tree .git
7+ value : https://github.com/sqreen/go-dvwa .git
88 - name : reference
99 type : string
1010 value : master
You can’t perform that action at this time.
0 commit comments