aboutsummaryrefslogtreecommitdiff
path: root/test-rig/Dockerfile
diff options
context:
space:
mode:
authorLena <lena@omega>2026-07-01 00:00:00 +0000
committerLena <lena@omega>2026-07-01 00:00:00 +0000
commitd4250691b403a8d5837bed431d86fe8dcb12c293 (patch)
treee31cdcb6a029746e557b17da4b48e7c35da3a5be /test-rig/Dockerfile
parente4b9241441cc0d3204999da7077535452aa7d43c (diff)
downloadscrcpy-android-d4250691b403a8d5837bed431d86fe8dcb12c293.tar.gz
test-rig: pre-install AGP's build-tools 34 pin
AGP 8.7 downloads build-tools;34.0.0 into the SDK at build time when it is missing, which made the first test run in a fresh image reach for the network. Bake it into the image.
Diffstat (limited to 'test-rig/Dockerfile')
-rw-r--r--test-rig/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/test-rig/Dockerfile b/test-rig/Dockerfile
index 759a09d..a9ffa23 100644
--- a/test-rig/Dockerfile
+++ b/test-rig/Dockerfile
@@ -1,7 +1,9 @@
# scrcpy-android test image.
#
-# Bundles JDK 17, Android cmdline-tools, platform 35, build-tools 35,
+# Bundles JDK 17, Android cmdline-tools, platform 35, build-tools 34+35,
# emulator, and an x86_64 default API-35 system image (for e2e).
+# build-tools 34 is AGP 8.7's internal pin; pre-installing it keeps
+# gradle from downloading it into the SDK at test time.
# Project is mounted at /work; runs in --rm mode.
FROM debian:bookworm-slim