This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new be43b89 Install syft using Go in the containers
be43b89 is described below
commit be43b89e9637327efdc61cb84d318fd3042d5912
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Dec 11 16:48:19 2025 +0000
Install syft using Go in the containers
---
Dockerfile.alpine | 4 ++--
Dockerfile.ubuntu | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Dockerfile.alpine b/Dockerfile.alpine
index 74880b9..b070e8c 100644
--- a/Dockerfile.alpine
+++ b/Dockerfile.alpine
@@ -90,8 +90,8 @@ RUN mv apache-rat-${RAT_VERSION}.jar /opt/tools
RUN java -version
# WORKDIR /var/run
-# RUN GOPATH=/usr/local go install github.com/anchore/syft/cmd/[email protected]
-RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh
| sh -s -- -b /usr/local/bin
+RUN GOPATH=/usr/local go install github.com/anchore/syft/cmd/[email protected]
+# RUN curl -sSfL
https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b
/usr/local/bin
# RUN git clone https://github.com/sbp/sbomasm && cd sbomasm &&
GOPATH=/usr/local go install ./...
# RUN GOPATH=/usr/local go install github.com/interlynk-io/[email protected]
RUN GOPATH=/usr/local go install github.com/snyk/[email protected]
diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu
index 6b877c1..6639716 100644
--- a/Dockerfile.ubuntu
+++ b/Dockerfile.ubuntu
@@ -101,7 +101,7 @@ RUN mv apache-rat-${RAT_VERSION}.jar /opt/tools
RUN java -version
# WORKDIR /var/run
-# RUN GOPATH=/usr/local go install github.com/anchore/syft/cmd/[email protected]
+RUN GOPATH=/usr/local go install github.com/anchore/syft/cmd/[email protected]
# RUN curl -sSfL
https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b
/usr/local/bin
# RUN git clone https://github.com/sbp/sbomasm && cd sbomasm &&
GOPATH=/usr/local go install ./...
# RUN GOPATH=/usr/local go install github.com/interlynk-io/[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]