@hyperframes/gcp-cloud-run 0.8.155 → 0.8.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +23 -1
- package/package.json +2 -2
package/Dockerfile
CHANGED
|
@@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
28
28
|
ca-certificates \
|
|
29
29
|
curl \
|
|
30
30
|
unzip \
|
|
31
|
-
|
|
31
|
+
xz-utils \
|
|
32
32
|
libgbm1 \
|
|
33
33
|
libnss3 \
|
|
34
34
|
libatk-bridge2.0-0 \
|
|
@@ -54,6 +54,28 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
54
54
|
&& apt-get clean \
|
|
55
55
|
&& fc-cache -fv
|
|
56
56
|
|
|
57
|
+
# ── FFmpeg (pinned) ──────────────────────────────────────────────────────────
|
|
58
|
+
# One pinned static build (BtbN n8.0.1) instead of Debian's apt ffmpeg, so
|
|
59
|
+
# regression baselines and the shipped images use the same FFmpeg version.
|
|
60
|
+
# Bump the URL and sha256 together, and keep in sync with the other Dockerfiles
|
|
61
|
+
# and .github/actions/install-ffmpeg-linux/action.yml.
|
|
62
|
+
ARG TARGETARCH
|
|
63
|
+
ARG FFMPEG_RELEASE=https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2026-02-28-12-59
|
|
64
|
+
ARG FFMPEG_BUILD=ffmpeg-n8.0.1-66-g27b8d1a017
|
|
65
|
+
ARG FFMPEG_SHA256_AMD64=26d2ecd0cefba99f9d1ea92252a3a4f743a58df4c1c3cf9f8bbaaa40b1fca5b0
|
|
66
|
+
ARG FFMPEG_SHA256_ARM64=d72cc324cb65dd92a9ffe699cc95ccbacfef4def8d3ad9fe2b5164a6a71b9595
|
|
67
|
+
RUN case "$TARGETARCH" in \
|
|
68
|
+
amd64) FF_ARCH=linux64; FF_SHA256="$FFMPEG_SHA256_AMD64" ;; \
|
|
69
|
+
arm64) FF_ARCH=linuxarm64; FF_SHA256="$FFMPEG_SHA256_ARM64" ;; \
|
|
70
|
+
*) echo "unsupported TARGETARCH '$TARGETARCH'" >&2; exit 1 ;; \
|
|
71
|
+
esac \
|
|
72
|
+
&& curl -fsSL -o /tmp/ffmpeg.tar.xz "$FFMPEG_RELEASE/$FFMPEG_BUILD-$FF_ARCH-gpl-8.0.tar.xz" \
|
|
73
|
+
&& echo "$FF_SHA256 /tmp/ffmpeg.tar.xz" | sha256sum -c - \
|
|
74
|
+
&& tar -xJf /tmp/ffmpeg.tar.xz -C /usr/local/bin --strip-components=2 --wildcards '*/bin/ffmpeg' '*/bin/ffprobe' \
|
|
75
|
+
&& rm /tmp/ffmpeg.tar.xz \
|
|
76
|
+
&& ffmpeg -version | grep -F "ffmpeg version ${FFMPEG_BUILD#ffmpeg-}" \
|
|
77
|
+
&& ffprobe -version | grep -F "ffprobe version ${FFMPEG_BUILD#ffmpeg-}"
|
|
78
|
+
|
|
57
79
|
# ── chrome-headless-shell (deterministic BeginFrame capture) ─────────────────
|
|
58
80
|
# Pinned deliberately. The build-stage contract probe below launches this
|
|
59
81
|
# exact executable and requires a renderer-ready warm-up plus a PNG-returning
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/gcp-cloud-run",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.157",
|
|
4
4
|
"description": "Google Cloud Run + Workflows adapter for HyperFrames distributed rendering — request handler, client-side SDK, and Terraform module.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"hono": "^4.6.0",
|
|
46
46
|
"puppeteer-core": "^25.8.0",
|
|
47
47
|
"tar": "^7.4.3",
|
|
48
|
-
"@hyperframes/producer": "^0.8.
|
|
48
|
+
"@hyperframes/producer": "^0.8.157"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^25.0.10",
|