Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,37 @@ jobs:
- run: |
cd "$RUNNER_TEMP/agent-docker-tools-core"
docker compose build --pull --no-cache
- name: Check core image and host handshake
- name: Start core container and check host handshake
run: |
set -x
cd "$RUNNER_TEMP/agent-docker-tools-core"
mkdir -p samples
printf 'core smoke test\n' > samples/sample.txt
printf 'A plain text fixture for the release check.\n' > samples/sample.txt
docker compose up --no-build --wait --wait-timeout 180
container=$(docker compose ps -q agent)
test "$(docker compose port agent 8766)" = "127.0.0.1:8766"
test "$(docker inspect "$container" --format '{{len .HostConfig.PortBindings}}')" = 1
docker run --rm --network host \
--entrypoint /opt/tools/ghidra-mcp/venv/bin/python agent-docker-tools:local \
/opt/tools/ghidra-mcp/healthcheck.py --sse-only
docker compose exec -T agent sh -ec '
- name: Check licenses, read-only mounts and report output
run: |
set -x
cd "$RUNNER_TEMP/agent-docker-tools-core"
docker compose exec -T agent sh -exc '
test -r /opt/tools/ghidra/LICENSE
test -r /usr/share/doc/ghidra-mcp/copyright
test -r /usr/share/doc/ghidra-mcp/NOTICE
if touch /root/challenges/write-probe 2>/dev/null; then exit 1; fi
if touch /root/scripts/write-probe 2>/dev/null; then exit 1; fi
file /root/challenges/sample.txt > /root/ctf-solutions/sample-report.txt
file --brief --mime-type /root/challenges/sample.txt > /root/ctf-solutions/sample-report.txt
'
grep -F 'text' ctf-solutions/sample-report.txt
grep -Fx 'text/plain' ctf-solutions/sample-report.txt
- name: Check clean shutdown
run: |
set -x
cd "$RUNNER_TEMP/agent-docker-tools-core"
container=$(docker compose ps -q agent)
docker compose stop
test "$(docker inspect "$container" --format '{{.State.ExitCode}}')" = 0
- name: Check debug override
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/docker/library/debian:13-slim@sha256:ab3b3c8c5159eebfca4376430132d53c4d425f869c765ecbe47177a030da575d
FROM docker.io/library/debian:13-slim@sha256:ab3b3c8c5159eebfca4376430132d53c4d425f869c765ecbe47177a030da575d

ARG PIP_INDEX_URL=https://pypi.org/simple

Expand Down
Loading