Download tasks/t18-friction-tutorial/environment/Dockerfile from refreshdotdev/Refresh-GUI-dataset: direct link, hf CLI and curl.
- Browser
- Download file 5 kB
-
https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/1daa78eadc41c623cd471e7d351be21194129fe4/tasks/t18-friction-tutorial/environment/Dockerfile
- Command line
-
hf download hf://datasets/refreshdotdev/Refresh-GUI-dataset@1daa78eadc41c623cd471e7d351be21194129fe4/tasks/t18-friction-tutorial/environment/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/1daa78eadc41c623cd471e7d351be21194129fe4/tasks/t18-friction-tutorial/environment/Dockerfile
5 kB
| # t18-friction-tutorial — Friction (open-source After-Effects tier) + the | |
| # 26-minute "Introduction to Friction for Motion Graphics" tutorial, NO assets: | |
| # learn the tool from the tutorial, then reproduce what it builds (an eased | |
| # falling water drop). | |
| # | |
| # Layers onto vedit-task:base (Kdenlive + Natron + Shotcut + xterm + desktop | |
| # stack + Debian chromium, built by `./suite/suite.sh base build` — check | |
| # `docker image inspect vedit-task:base --format '{{.Created}}'` against the | |
| # base Dockerfile's last commit first; a stale base cost t16 a smoke run): | |
| # - Friction 1.0.0-rc.3 exactly as t16 ships it (pinned tarball + debs, | |
| # null-sink PulseAudio launcher, xfdesktop4 for the Desktop icons). | |
| # - /root/tutorial/tutorial.mp4: the tutorial with captions BURNED IN | |
| # (computer-1 sees screenshots and hears nothing) plus a VP9 fallback; | |
| # a "Tutorial" Desktop launcher opens the video in Debian's chromium. | |
| # NOTHING else — Sid (2026-09-03): the task is about following the video, | |
| # so the transcript / chapter sheets / html page were removed. | |
| # Fetched/rendered by tools/fetch-tutorial.sh. | |
| # - NO media: the synthetic seed footage is removed so /root/media is empty | |
| # (the tutorial draws everything from primitives). | |
| # | |
| # Build (from the repo root, after `suite base build`, | |
| # tools/fetch-friction.sh and tools/fetch-tutorial.sh): | |
| # docker build --platform linux/amd64 \ | |
| # -f tasks/t18-friction-tutorial/environment/Dockerfile \ | |
| # -t refresh-fcpx-t18:dev tasks/t18-friction-tutorial/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_t18 in environments/vedit/env.toml [snapshots]. | |
| FROM vedit-task:base | |
| # Friction: pinned portable tarball (bundles its own Qt5, Skia, ffmpeg, xcb | |
| # libs — ldd against vedit-task:base resolved everything except | |
| # libpulse-mainloop-glib.so.0) plus a PulseAudio server: Friction's audio | |
| # handler pops a modal "Critical Error: audiohandler.cpp toAVAudioFormat() | |
| # Unsupported sample format 0" at EVERY launch when no Pulse server answers | |
| # (t16 Xvfb smoke, 2026-09-02); the launcher below starts one with a null | |
| # sink. All artifacts are COPIED from the build context, fetched beforehand by | |
| # tools/fetch-friction.sh (sha256-pinned): the build needs no network and no | |
| # apt. The ldd assertion fails the build if the bundle's layout or deps | |
| # change. bin/portable.txt is removed: with it Friction opens a modal "You are | |
| # in portable mode" box on every launch. | |
| COPY friction.tar.xz /tmp/ | |
| COPY debs/ /tmp/debs/ | |
| RUN 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 | |
| # No footage in this task: empty /root/media so the synthetic seed slates | |
| # cannot be mistaken for something to import. | |
| RUN rm -f /root/media/* && rmdir /root/media 2>/dev/null; mkdir -p /root/media | |
| # The tutorial. tutorial.mp4 = 1280x720 H.264 with captions burned in; | |
| # tutorial.webm = VP9 fallback in case this chromium build lacks H.264 (drop | |
| # it once a smoke test shows the mp4 playing). Both gitignored. | |
| COPY tutorial/ /root/tutorial/ | |
| RUN test -s /root/tutorial/tutorial.mp4 && rm -f /root/tutorial/.DS_Store | |
| # Friction autostarts with the XFCE session (APP=friction → start-editor | |
| # copies /opt/autostart/friction-autostart.desktop). Desktop launchers for | |
| # Friction (relaunch after a crash/quit) and the Tutorial; the icon layer that | |
| # renders them is xfdesktop4 (in debs/ above — the vedit base has | |
| # xfce4-panel/xfwm4/xfce4-session but no xfdesktop, t16 smoke a1 saw a bare | |
| # black root window). Applications-menu copies are a second route. | |
| # ASSERTS the base is the post-t08 one (xterm + Desktop launchers) and that | |
| # Debian's chromium (H.264-capable) is at /usr/bin/chromium for the tutorial. | |
| COPY friction-autostart.desktop /opt/autostart/friction-autostart.desktop | |
| COPY friction.desktop /root/Desktop/friction.desktop | |
| COPY tutorial.desktop /root/Desktop/tutorial.desktop | |
| RUN chmod 755 /root/Desktop/*.desktop \ | |
| && mkdir -p /usr/share/applications /root/edit \ | |
| && cp /root/Desktop/friction.desktop /root/Desktop/tutorial.desktop /usr/share/applications/ \ | |
| && rm -f /root/Desktop/kdenlive.desktop /root/Desktop/shotcut.desktop \ | |
| && test -x /usr/bin/xterm \ | |
| && test -x /usr/bin/xfdesktop \ | |
| && test -x /usr/bin/chromium \ | |
| && test -f /root/Desktop/terminal.desktop | |
| # Oracle-only reference artifacts (see reference/README.md). Not part of the | |
| # agent's brief; the instruction never points here. | |
| COPY reference/ /opt/t18-reference/ | |
| WORKDIR /root | |