Skip to content

Commit 8dcdd7f

Browse files
committed
fix: use GOPATH for invoking cyclonedx-gomod
1 parent c459c49 commit 8dcdd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statsd_exporter/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ curl "https://repo.stackable.tech/repository/packages/statsd_exporter/statsd_exp
3737
git commit -m "dummy"
3838
git tag "${PRODUCT}"
3939
go build -o ../statsd_exporter
40-
/go_cache/bin/cyclonedx-gomod app -json -output-version 1.5 -output ../statsd_exporter-${PRODUCT}.cdx.json -packages -files
40+
$GOPATH/bin/cyclonedx-gomod app -json -output-version 1.5 -output ../statsd_exporter-${PRODUCT}.cdx.json -packages -files
4141
)
4242
rm -rf "statsd_exporter-${PRODUCT}"
4343
EOF

0 commit comments

Comments
 (0)