-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add ACS tooling to the NVIDIA StackRox image #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,13 +19,16 @@ | |
| # | ||
| # mcp-atlassian 0.21.1 https://github.com/sooperset/mcp-atlassian/releases | ||
| # gws CLI 0.22.5 https://github.com/googleworkspace/cli/releases | ||
| # gopls 0.20.0 https://pkg.go.dev/golang.org/x/tools/gopls | ||
| # ajv-cli 5.0.0 https://github.com/ajv-validator/ajv-cli | ||
| # | ||
| # Base image tools (inherited, pinned upstream): | ||
| # claude latest https://claude.ai/install.sh | ||
| # gh latest https://cli.github.com/packages | ||
| # node 22.x https://deb.nodesource.com | ||
| # python 3.14.x https://github.com/astral-sh/uv | ||
| # uv 0.10.x https://github.com/astral-sh/uv | ||
| # Go 1.24.2 https://go.dev/dl/ | ||
| # | ||
| # ── Workarounds in this image ────────────────────────────────────────── | ||
| # | ||
|
|
@@ -47,6 +50,25 @@ USER root | |
| # https://github.com/sooperset/mcp-atlassian | ||
| RUN pip install --no-cache-dir mcp-atlassian==0.21.1 | ||
|
|
||
| # Go and gopls for the Go-analysis MCP server used by ACS triage. Keep the Go | ||
| # toolchain in the runtime image because gopls invokes `go list` and related | ||
| # commands while analyzing a checked-out repository. | ||
| ARG GO_VERSION=1.24.2 | ||
| ARG GO_SHA256_AMD64=68097bd680839cbc9d464a0edce4f7c333975e27a90246890e9f1078c7e702ad | ||
| ARG GO_SHA256_ARM64=756274ea4b68fa5535eb9fe2559889287d725a8da63c6aae4d5f23778c229f4b | ||
| ARG GOPLS_VERSION=0.20.0 | ||
| RUN set -eux; \ | ||
| case "$(dpkg --print-architecture)" in \ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Skipped: this finding is incorrect. The Dockerfile passes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Skipped for the same reason: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The specified
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Skipped: this repeated finding is incorrect. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The specified
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Skipped: this repeated finding is incorrect. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The specified
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Skipped: this repeated finding is incorrect. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The specified
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Skipped: this repeated finding is incorrect. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The specified
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Skipped: this repeated finding is incorrect. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The specified
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Skipped: this repeated finding is incorrect. |
||
| amd64) go_arch=amd64; go_sha256="$GO_SHA256_AMD64" ;; \ | ||
| arm64) go_arch=arm64; go_sha256="$GO_SHA256_ARM64" ;; \ | ||
| *) echo "unsupported architecture: $(dpkg --print-architecture)" >&2; exit 1 ;; \ | ||
| esac; \ | ||
| curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-${go_arch}.tar.gz" -o /tmp/go.tgz; \ | ||
| echo "${go_sha256} /tmp/go.tgz" | sha256sum -c -; \ | ||
| tar -C /usr/local -xzf /tmp/go.tgz; \ | ||
| GOBIN=/usr/local/bin /usr/local/go/bin/go install "golang.org/x/tools/gopls@v${GOPLS_VERSION}"; \ | ||
| rm -rf /tmp/go.tgz /root/go /root/.cache/go-build | ||
|
|
||
| # Google Workspace CLI (Gmail, Calendar, Drive, Docs, Sheets) | ||
| # https://github.com/googleworkspace/cli | ||
| RUN ARCH=$(uname -m | sed 's/arm64/aarch64/') && \ | ||
|
|
@@ -55,7 +77,11 @@ RUN ARCH=$(uname -m | sed 's/arm64/aarch64/') && \ | |
|
|
||
| # OpenCode AI coding agent | ||
| # https://github.com/opencode-ai/opencode | ||
| RUN npm install -g opencode-ai@1.18.30 | ||
| # JSON Schema validation used by the ACS triage workflow. | ||
| RUN npm install -g opencode-ai@1.18.30 ajv-cli@5.0.0 && \ | ||
| npm cache clean --force | ||
|
|
||
| ENV PATH="/sandbox/.venv/bin:/usr/local/go/bin:${PATH}" | ||
|
|
||
| # Sandbox policy (network egress rules — provider profiles contribute | ||
| # additional endpoints at runtime via providers v2 composition) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.