Download tasks/t23-dance-blob/environment/Dockerfile from refreshdotdev/Refresh-GUI-dataset: direct link, hf CLI and curl.
- Browser
- Download file 7.61 kB
-
https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t23-dance-blob/environment/Dockerfile
- Command line
-
hf download hf://datasets/refreshdotdev/Refresh-GUI-dataset/tasks/t23-dance-blob/environment/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t23-dance-blob/environment/Dockerfile
7.61 kB
| # t23-dance-blob — recreate the "Dance Blob" loop (github.com/nanCreate/ | |
| # AE_Dance-Blob, an After Effects shape-layer animation, MIT) from its rendered | |
| # reference, from scratch in Friction. GUI-ONLY image (Sid's standing rule, t16 | |
| # v1.1 recipe): no terminal, kiosk XFCE, Friction autostarts; the 6 s reference | |
| # clip is the only media. | |
| # | |
| # Layers onto vedit-task:base (Debian bookworm, Kdenlive + Shotcut + XFCE, | |
| # built by `./suite/suite.sh base build`; check its build date against | |
| # environments/vedit/Dockerfile first — "vedit base staleness"): | |
| # - Friction 1.0.0-rc.3 (identical recipe + pinned artifacts to t16/t22; | |
| # run tools/fetch-friction.sh first, the build COPYs them) | |
| # - /root/media/reference.mp4: 800x800 30 fps 6 s, muted, banner painted out | |
| # (tools/prepare-media.sh; sha in tests/source.sha256) | |
| # - /opt/t23-reference/: pristine reference copy + the synthetic stand-in | |
| # oracle generator for solution/solve.sh (the agent has no shell to find either) | |
| # | |
| # Build (from the repo root, after `suite base build`): | |
| # docker build --platform linux/amd64 \ | |
| # -f tasks/t23-dance-blob/environment/Dockerfile \ | |
| # -t refresh-fcpx-t23:dev tasks/t23-dance-blob/environment | |
| # | |
| # REMOTE RUNS: push the Daytona snapshot from THIS image with | |
| # `-e /usr/local/bin/start-editor --cpu 4 --memory 8 --disk 10` and record it | |
| # as current_t23 in environments/vedit/env.toml [snapshots]. | |
| FROM vedit-task:base | |
| # --- Friction (verbatim from t16: bundled Qt5/Skia/ffmpeg; Pulse null sink | |
| # stops the modal audio error; portable.txt removed; ldd assertion) --------- | |
| COPY friction.tar.xz /tmp/ | |
| COPY debs/ /tmp/debs/ | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 liborc-0.4-0 libtdb1 libwebrtc-audio-processing1 libgles2 \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && dpkg -i /tmp/debs/*.deb \ | |
| && mkdir -p /opt/friction \ | |
| && tar -xJf /tmp/friction.tar.xz -C /opt/friction --strip-components=1 \ | |
| && rm -rf /tmp/friction.tar.xz /tmp/debs \ | |
| && test -x /opt/friction/bin/friction \ | |
| && rm -f /opt/friction/bin/portable.txt \ | |
| && missing="$(ldd /opt/friction/bin/friction | grep 'not found' || true)" \ | |
| && { [ -z "$missing" ] || { echo "friction: unresolved libs:"; echo "$missing"; exit 1; }; } | |
| COPY friction-launcher.sh /usr/local/bin/friction | |
| RUN chmod 755 /usr/local/bin/friction | |
| # --- The reference clip (replaces the base's synthetic seed media). ASSERT | |
| # it is present — a build from an empty media/ (fresh clone without | |
| # tools/prepare-media.sh) must not reach a snapshot. Second pristine copy for | |
| # the verifier / oracle. --------------------------------------------------- | |
| RUN rm -f /root/media/*.mp4 | |
| COPY media/ /root/media/ | |
| RUN rm -f /root/media/.DS_Store \ | |
| && test -s /root/media/reference.mp4 \ | |
| && mkdir -p /root/edit /root/Desktop /opt/t23-reference \ | |
| && cp /root/media/reference.mp4 /opt/t23-reference/reference.mp4 | |
| COPY make-synthetic-oracle.py /opt/t23-reference/make-synthetic-oracle.py | |
| RUN python3 /opt/t23-reference/make-synthetic-oracle.py /opt/t23-reference/oracle.mp4 \ | |
| && test -s /opt/t23-reference/oracle.mp4 | |
| # --- Shotcut stays available (base) for anyone who wants to scrub the | |
| # reference in an NLE; skip its first-run wizard, software GL, square 800p30 | |
| # is not a preset so leave the video mode automatic. -------------------------- | |
| RUN mkdir -p /root/.config/Meltytech \ | |
| && printf '[General]\nfirstRun=false\ncheckUpgradeAutomatic=false\naskUpgradeAutomatic=false\ndrawMethod=2\nplayerGPU=false\n' \ | |
| > /root/.config/Meltytech/Shotcut.conf | |
| # --- Friction autostarts (APP=friction); Desktop + menu launchers. -------- | |
| COPY friction-autostart.desktop /opt/autostart/friction-autostart.desktop | |
| COPY friction.desktop /root/Desktop/friction.desktop | |
| RUN chmod 755 /root/Desktop/friction.desktop \ | |
| && mkdir -p /usr/share/applications \ | |
| && cp /root/Desktop/friction.desktop /usr/share/applications/friction.desktop \ | |
| && test -x /usr/local/bin/shotcut \ | |
| && test -x /usr/bin/xfdesktop \ | |
| && test -f /opt/autostart/shotcut-autostart.desktop | |
| # --- GUI-ONLY (Sid, 2026-09-04): every terminal route becomes a logging stub | |
| # (attempt -> /logs/artifacts/terminal-attempts.log -> reward 0), terminal / | |
| # python / Kdenlive menu entries and the Ctrl+Alt+T shortcut go, XFCE kiosk | |
| # mode blocks new panel launchers. python3 stays for the verifier. -------- | |
| COPY no-terminal.sh /usr/local/bin/no-terminal | |
| COPY kiosk/kioskrc /etc/xdg/xfce4/kiosk/kioskrc | |
| COPY shotcut-menu.desktop /usr/share/applications/shotcut.desktop | |
| RUN chmod 755 /usr/local/bin/no-terminal \ | |
| && for t in xterm uxterm lxterm koi8rxterm x-terminal-emulator xfce4-terminal xfce4-appfinder xfrun4; do \ | |
| rm -f "/usr/bin/$t" "/etc/alternatives/$t"; ln -s /usr/local/bin/no-terminal "/usr/bin/$t"; done \ | |
| && rm -f /usr/share/applications/debian-xterm.desktop /usr/share/applications/debian-uxterm.desktop \ | |
| /usr/share/applications/xfce4-terminal-emulator.desktop /usr/share/applications/python3*.desktop \ | |
| /usr/share/applications/display-im6*.desktop /usr/share/applications/org.kde.kdenlive.desktop \ | |
| /usr/share/applications/xfce4-file-manager.desktop /usr/share/applications/xfce4-mail-reader.desktop \ | |
| /usr/share/applications/xfce4-web-browser.desktop /usr/share/applications/xfce4-settings-editor.desktop \ | |
| /usr/share/xfce4/helpers/*.desktop \ | |
| /root/Desktop/terminal.desktop /root/Desktop/kdenlive.desktop \ | |
| && sed -i '/exo-open --launch TerminalEmulator/d' /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml \ | |
| && sed -i 's/^TerminalEmulator=.*/TerminalEmulator=/; s/^FileManager=.*/FileManager=/' /etc/xdg/xfce4/helpers.rc \ | |
| && test -x /usr/local/bin/shotcut && test -x /usr/local/bin/friction \ | |
| && [ "$(readlink -f /usr/bin/xterm)" = /usr/local/bin/no-terminal ] \ | |
| && ! ls /usr/share/applications | grep -qiE 'xterm|terminal|python|display-im6' | |
| COPY install-gui-only.py /opt/gui-only/install.py | |
| RUN python3 /opt/gui-only/install.py | |
| WORKDIR /root | |
| # v2 native verification runtime. Build the pinned sidecar runtime first; | |
| # its immutable identity is recorded in tests/native/runtime-lock.json. | |
| COPY --from=friction-audit-runtime:rc3-sidecar /opt/friction-audit/bin/friction /opt/friction-audit/bin/friction | |
| RUN mkdir -p /logs/artifacts \ | |
| && printf '%s\n' '{"event":"audit_start","schema_version":1}' > /logs/artifacts/action-audit.jsonl | |
| RUN printf '%s\n' '221bb2d6f69b38574db9b2f07df95fb0d9acc2951148a88d798bb179383391e9 /opt/friction-audit/bin/friction' | sha256sum -c - | |
| # Reference-viewing instrumentation: focused native GUI playback/frame stepping. | |
| RUN apt-get update && apt-get install -y --no-install-recommends python3-tk \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY reference-viewer.py /usr/local/bin/t23-reference-viewer | |
| COPY reference-viewer.desktop /usr/share/applications/t23-reference-viewer.desktop | |
| RUN chmod 755 /usr/local/bin/t23-reference-viewer \ | |
| && cp /usr/share/applications/t23-reference-viewer.desktop /root/Desktop/watch-reference.desktop \ | |
| && chmod 755 /root/Desktop/watch-reference.desktop \ | |
| && printf '%s\n' '{"event":"recorder_ready"}' > /logs/artifacts/reference-viewing.jsonl | |
| # Clean desktop startup: the computer runtime launches one editor explicitly. | |
| COPY start-t23.sh /usr/local/bin/start-t23 | |
| RUN chmod 755 /usr/local/bin/start-t23 \ | |
| && rm -f /etc/xdg/autostart/*friction* /etc/xdg/autostart/*shotcut* /etc/xdg/autostart/*kdenlive* \ | |
| /usr/share/applications/x11vnc.desktop /root/Desktop/x11vnc.desktop | |
| CMD ["/usr/local/bin/start-t23"] | |
| COPY startup-check.py /opt/t23/startup-check.py | |