{ "sha": "c71902a8cf8d2b725f63d51f199f4d3e56f68d2d", "node_id": "C_kwDORXrgctoAKGM3MTkwMmE4Y2Y4ZDJiNzI1ZjYzZDUxZjE5OWY0ZDNlNTZmNjhkMmQ", "commit": { "author": { "name": "Ibragim", "email": "ibragim-bad@nebius.com", "date": "2026-03-12T12:49:01Z" }, "committer": { "name": "Ibragim", "email": "ibragim-bad@nebius.com", "date": "2026-03-12T12:49:01Z" }, "message": "add dockerfile dart", "tree": { "sha": "70d44f39790d2d06e0ec05e57a24b9c226adf559", "url": "https://api.github.com/repos/SWE-rebench/SWE-rebench-V2/git/trees/70d44f39790d2d06e0ec05e57a24b9c226adf559" }, "url": "https://api.github.com/repos/SWE-rebench/SWE-rebench-V2/git/commits/c71902a8cf8d2b725f63d51f199f4d3e56f68d2d", "comment_count": 0, "verification": { "verified": false, "reason": "unsigned", "signature": null, "payload": null, "verified_at": null } }, "url": "https://api.github.com/repos/SWE-rebench/SWE-rebench-V2/commits/c71902a8cf8d2b725f63d51f199f4d3e56f68d2d", "html_url": "https://github.com/SWE-rebench/SWE-rebench-V2/commit/c71902a8cf8d2b725f63d51f199f4d3e56f68d2d", "comments_url": "https://api.github.com/repos/SWE-rebench/SWE-rebench-V2/commits/c71902a8cf8d2b725f63d51f199f4d3e56f68d2d/comments", "author": { "login": "ibragim-bad", "id": 45882426, "node_id": "MDQ6VXNlcjQ1ODgyNDI2", "avatar_url": "https://avatars.githubusercontent.com/u/45882426?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ibragim-bad", "html_url": "https://github.com/ibragim-bad", "followers_url": "https://api.github.com/users/ibragim-bad/followers", "following_url": "https://api.github.com/users/ibragim-bad/following{/other_user}", "gists_url": "https://api.github.com/users/ibragim-bad/gists{/gist_id}", "starred_url": "https://api.github.com/users/ibragim-bad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ibragim-bad/subscriptions", "organizations_url": "https://api.github.com/users/ibragim-bad/orgs", "repos_url": "https://api.github.com/users/ibragim-bad/repos", "events_url": "https://api.github.com/users/ibragim-bad/events{/privacy}", "received_events_url": "https://api.github.com/users/ibragim-bad/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "committer": { "login": "ibragim-bad", "id": 45882426, "node_id": "MDQ6VXNlcjQ1ODgyNDI2", "avatar_url": "https://avatars.githubusercontent.com/u/45882426?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ibragim-bad", "html_url": "https://github.com/ibragim-bad", "followers_url": "https://api.github.com/users/ibragim-bad/followers", "following_url": "https://api.github.com/users/ibragim-bad/following{/other_user}", "gists_url": "https://api.github.com/users/ibragim-bad/gists{/gist_id}", "starred_url": "https://api.github.com/users/ibragim-bad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ibragim-bad/subscriptions", "organizations_url": "https://api.github.com/users/ibragim-bad/orgs", "repos_url": "https://api.github.com/users/ibragim-bad/repos", "events_url": "https://api.github.com/users/ibragim-bad/events{/privacy}", "received_events_url": "https://api.github.com/users/ibragim-bad/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "parents": [ { "sha": "dd8b58f385783b189a96dd09c22153c843b0e2f9", "url": "https://api.github.com/repos/SWE-rebench/SWE-rebench-V2/commits/dd8b58f385783b189a96dd09c22153c843b0e2f9", "html_url": "https://github.com/SWE-rebench/SWE-rebench-V2/commit/dd8b58f385783b189a96dd09c22153c843b0e2f9" } ], "stats": { "total": 35, "additions": 35, "deletions": 0 }, "files": [ { "sha": "f05ac1b169158cde4deb6188160cb0686e5ed7c4", "filename": "base_dockerfiles/Dockerfile_dart", "status": "modified", "additions": 35, "deletions": 0, "changes": 35, "blob_url": "https://github.com/SWE-rebench/SWE-rebench-V2/blob/c71902a8cf8d2b725f63d51f199f4d3e56f68d2d/base_dockerfiles%2FDockerfile_dart", "raw_url": "https://github.com/SWE-rebench/SWE-rebench-V2/raw/c71902a8cf8d2b725f63d51f199f4d3e56f68d2d/base_dockerfiles%2FDockerfile_dart", "contents_url": "https://api.github.com/repos/SWE-rebench/SWE-rebench-V2/contents/base_dockerfiles%2FDockerfile_dart?ref=c71902a8cf8d2b725f63d51f199f4d3e56f68d2d", "patch": "@@ -0,0 +1,35 @@\n+# Dart build container (Linux/amd64)\n+# Stable Dart SDK for reliable builds across projects\n+\n+FROM --platform=linux/amd64 dart:stable-sdk\n+\n+ARG DEBIAN_FRONTEND=noninteractive\n+ENV TZ=Etc/UTC\n+\n+# Base tools + typical native build deps some Dart packages use (FFI, etc.)\n+RUN apt-get update && apt-get install -y --no-install-recommends \\\n+ git \\\n+ curl \\\n+ wget \\\n+ unzip \\\n+ zip \\\n+ ca-certificates \\\n+ build-essential \\\n+ pkg-config \\\n+ libssl-dev \\\n+ && rm -rf /var/lib/apt/lists/*\n+\n+# Useful Dart env defaults\n+# PUB_CACHE inside workspace so it's writable even for non-root\n+ENV PUB_CACHE=/workspace/.pub-cache \\\n+ CI=true\n+\n+# Create a non-root user (uncomment USER line below to use it)\n+RUN adduser --disabled-password --gecos 'dog' nonroot\n+# USER nonroot\n+\n+# Working directory for your Dart projects\n+WORKDIR /workspace\n+\n+# Ensure cache directories exist and are writable\n+RUN mkdir -p /workspace/.pub-cache && chown -R nonroot:nonroot /workspace" } ] }