Просмотр исходного кода

build(td): pin headless runtime image

root 3 месяцев назад
Родитель
Сommit
4db01f340e
1 измененных файлов с 40 добавлено и 0 удалено
  1. 40 0
      containers/Containerfile.td

+ 40 - 0
containers/Containerfile.td

@@ -0,0 +1,40 @@
+ARG BASE_IMAGE=localhost/prod2u-thermal-dev@sha256:9fbf758dfb53b302c127594284a9f5b3735d5a1f8a4f4668d383f6aec82bdf54
+FROM ${BASE_IMAGE}
+
+# TD itself remains on the persistent /data volume.  This image adds only the
+# Debian runtime libraries required by TD 2026.1 SP2; vendor Qt/library paths
+# stay confined to the tools/td2026 subprocess wrapper.
+RUN apt-get update \
+    && apt-get install -y --no-install-recommends \
+        libatk1.0-0 \
+        libcairo2 \
+        libdbus-1-3 \
+        libfontconfig1 \
+        libfreetype6 \
+        libgdk-pixbuf-2.0-0 \
+        libgl1 \
+        libglib2.0-0 \
+        libgtk2.0-0 \
+        libice6 \
+        libnss3 \
+        libpango-1.0-0 \
+        libpangocairo-1.0-0 \
+        libpangoft2-1.0-0 \
+        libsm6 \
+        libusb-1.0-0 \
+        libx11-6 \
+        libx11-xcb1 \
+        libxcb-glx0 \
+        libxcb-icccm4 \
+        libxcb-image0 \
+        libxcb-keysyms1 \
+        libxcb-render-util0 \
+        libxcb-shape0 \
+        libxcb-xinerama0 \
+        libxcb1 \
+        libxext6 \
+        libxi6 \
+        libxkbcommon-x11-0 \
+        libxkbcommon0 \
+        libxrender1 \
+    && rm -rf /var/lib/apt/lists/*