The node base image has npm configured with ignore-scripts or the new opencode-ai versions require explicit postinstall execution. Running the postinstall manually after npm install ensures opencode --version works regardless of npm configuration.