diff --git a/images/agent/Dockerfile b/images/agent/Dockerfile index 73cb179..0500258 100644 --- a/images/agent/Dockerfile +++ b/images/agent/Dockerfile @@ -195,13 +195,14 @@ RUN set -eu; \ pw_v="$(playwright --version | awk '{print $2}')"; \ jq --arg node "$node_v" --arg python "$python_v" --arg rust "$rust_v" \ --arg go "$go_v" --arg mise "$mise_v" --arg gcc "$gcc_v" --arg playwright "$pw_v" \ - '.tier = "agent" \ + '.tier = "agent" | .variant = "agent" \ | .toolchains = {node: $node, python: $python, rust: $rust, go: $go, mise: $mise, gcc: $gcc} \ | .caches = {npm: "/opt/cache/npm", pip: "/opt/cache/pip", uv: "/opt/cache/uv", \ cargo: "/opt/cache/cargo", gomod: "/opt/cache/gomod"} \ | .playwright = {version: $playwright, browsers: "/opt/playwright-browsers", chromium: true}' \ /etc/naros/manifest.json > /etc/naros/manifest.json.new; \ mv /etc/naros/manifest.json.new /etc/naros/manifest.json; \ - naros info --json | jq -e '.tier == "agent" and .toolchains.node != null' > /dev/null + naros info --json \ + | jq -e '.tier == "agent" and .variant == "agent" and .toolchains.node != null' > /dev/null WORKDIR /workspace