File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ # VCS/IDE
3+ .git
4+ .gitignore
5+ .github
6+ .idea
7+ .vscode
8+ .claude
9+
10+ # Python artifacts
11+ .venv
12+ .ruff_cache
13+ .pytest_cache
14+ .basedpyright
15+ * .egg-info
16+ * .pyc
17+ __pycache__
18+ dist /
19+ build /
20+ .coveragerc
21+ sitecustomize.py
22+
23+ # Docs/dev-only files
24+ docs /
25+ * .md
26+ tests /
27+ examples /
28+ scripts /
29+ .env
30+
31+ # Miscellaneous
32+ .DS_Store
Original file line number Diff line number Diff line change @@ -3,16 +3,15 @@ FROM splunk/splunk:${SPLUNK_VERSION}
33
44USER root
55
6- # Copy splunk-mcp-server.tgz, we need to copy entire sdk since
6+ # Copy splunk-mcp-server.tgz, we need to copy entire SDK since
77# splunk-mcp-server.tgz might not exist and we don't want to fail in such case.
88RUN mkdir /tmp/sdk
9- COPY . /tmp/sdk
10- RUN /bin/bash -c 'if [ -f /tmp/sdk/splunk-mcp-server.tgz ]; then cp /tmp/sdk/splunk-mcp-server.tgz /splunk-mcp-server.tgz; fi '
9+ COPY . /tmp/sdk # TODO: Why exactly do we need to copy the entire SDK?
10+ RUN /bin/bash -c '[ -f /tmp/sdk/splunk-mcp-server.tgz ] && cp /tmp/sdk/splunk-mcp-server.tgz /splunk-mcp-server.tgz'
1111RUN rm -rf /tmp/sdk
1212
1313RUN mkdir /tmp/sdk
1414COPY ./pyproject.toml /tmp/sdk/pyproject.toml
15- COPY ./uv.lock /tmp/sdk/uv.lock
1615COPY ./splunklib /tmp/sdk/splunklib
1716
1817RUN mkdir /splunklib-deps
You can’t perform that action at this time.
0 commit comments