This commit was merged in pull request #339.
This commit is contained in:
1 parent
c6d2d07999
commit
fbf3a7cf29
19 files changed
+1036
-24
No files matched your search
+3
-3
@@ -47,7 +47,7 @@ ARG RUFF_VERSION
|
||||
# toolchain, which nothing at runtime needs.
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ca-certificates libssl3 git curl python3 python3-pip npm \
|
||||
ca-certificates libssl3 git curl python3 python3-pip npm cppcheck \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Cargo resolves Rust lockfiles and metadata for the SBOM stage. Installed
|
||||
@@ -75,9 +75,9 @@ RUN pip3 install --break-system-packages --no-cache-dir \
|
||||
"semgrep==${SEMGREP_VERSION}" "ruff==${RUFF_VERSION}"
|
||||
|
||||
RUN mkdir -p /opt/pruefwerk \
|
||||
&& printf '{"rust":"%s","cargo-audit":"%s","syft":"%s","gitleaks":"%s","semgrep":"%s","ruff":"%s"}\n' \
|
||||
&& printf '{"rust":"%s","cargo-audit":"%s","syft":"%s","gitleaks":"%s","semgrep":"%s","ruff":"%s","cppcheck":"%s"}\n' \
|
||||
"${RUST_VERSION}" "${CARGO_AUDIT_VERSION}" "${SYFT_VERSION}" "${GITLEAKS_VERSION}" \
|
||||
"${SEMGREP_VERSION}" "${RUFF_VERSION}" \
|
||||
"${SEMGREP_VERSION}" "${RUFF_VERSION}" "$(cppcheck --version | cut -d' ' -f2)" \
|
||||
> /opt/pruefwerk/tool-versions.json
|
||||
|
||||
# The agent runs unprivileged. It writes only to its home (tool caches), the
|
||||
|
||||
Reference in new issue
Block a user