Dockerfile with mxl-gst-tools & stats window height fix

This commit is contained in:
Dmitry Sergeev
2026-09-04 21:20:25 +03:00
parent f5852dafe0
commit dd75cac4a3
5 changed files with 55 additions and 13 deletions
+39
View File
@@ -0,0 +1,39 @@
FROM debian:trixie-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gstreamer1.0-x \
gstreamer1.0-tools \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-libav \
libgstreamer1.0-0 \
libgstreamer-plugins-base1.0-0 \
libstdc++6 \
fontconfig \
fonts-dejavu-core \
&& fc-cache -f \
&& rm -rf /var/lib/apt/lists/*
COPY build/Linux-GCC-Release /mxl
RUN cp -a /mxl/lib/libmxl.so* /usr/local/lib/ \
&& ldconfig \
&& install -m 0755 \
/mxl/tools/mxl-gst/mxl-gst-testsrc \
/mxl/tools/mxl-gst/mxl-gst-looping-filesrc \
/usr/local/bin/ \
&& mkdir -p /flow-configs /dev/shm/mxl \
&& cp -a /mxl/lib/tests/data/. /flow-configs/ \
&& useradd --uid 1000 --create-home --shell /usr/sbin/nologin mxl \
&& mkdir -p /home/mxl/.cache/fontconfig \
&& chown -R mxl:mxl /home/mxl /dev/shm/mxl
ENV HOME=/home/mxl \
XDG_CACHE_HOME=/home/mxl/.cache
USER mxl
WORKDIR /flow-configs
CMD ["mxl-gst-testsrc", "--help"]
+4
View File
@@ -0,0 +1,4 @@
## build
docker build --no-cache -f ./docker/gst-tools/Dockerfile -t mxl-gst-tools ~/extra/mxl/
## run
docker run --rm -it --mount type=bind,src=/dev/shm/mxl-2,dst=/dev/shm/mxl mxl-gst-tools mxl-gst-testsrc -d /dev/shm/mxl -v /flow-configs/v210_flow.json -a /flow-configs/audio_flow.json