add ffmpeg dev packages.
All checks were successful
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 1h58m10s

This commit is contained in:
amass 2024-10-04 00:40:29 +08:00
parent e199fbe9ca
commit 4cb66b3dcf

View File

@ -48,13 +48,16 @@ RUN git config --global user.email "168062547@qq.com" \
RUN cd /root \
&& apt install -y libgl1-mesa-dev libfontconfig1-dev libfreetype-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev \
&& apt install -y libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavfilter-dev libavdevice-dev \
&& wget https://download.qt.io/official_releases/qt/6.7/6.7.3/single/qt-everywhere-src-6.7.3.tar.xz \
&& tar -xvf qt-everywhere-src-6.7.3.tar.xz \
&& cd ./qt-everywhere-src-6.7.3 \
&& ./configure -prefix /opt/Qt/6.7.3/gcc_64 -opensource -debug-and-release -confirm-license -nomake examples -nomake tests -skip qtwebengine -skip qtcoap -skip qtopcua \
&& cmake --build . --parallel \
&& ninja install \
&& rm -fr /root/qt-everywhere-src-6.7.3*
&& rm -fr /root/qt-everywhere-src-6.7.3* \
&& echo 'export PATH=/opt/Qt/6.7.3/gcc_64/bin:$PATH' >> /etc/zsh/zshenv \
&& echo 'export PATH=/opt/Qt/6.7.3/gcc_64/bin:$PATH' >> /etc/profile
RUN cd /root \
&& wget https://frp-by1.wwvvww.cn:44048/s/boost_1_86_0/download -O boost_1_86_0.tar.gz \
@ -77,7 +80,7 @@ RUN cd /root \
&& echo 'export LD_LIBRARY_PATH=/opt/Libraries/ZLMediaKit/lib:$LD_LIBRARY_PATH' >> /etc/profile \
&& rm -fr /root/ZLMediaKit
ENV LD_LIBRARY_PATH=/opt/Libraries/boost_1_86_0/lib:/opt/Libraries/ZLMediaKit/lib
ENV LD_LIBRARY_PATH=/opt/Libraries/boost_1_86_0/lib:/opt/Libraries/ZLMediaKit/lib:/opt/Qt/6.7.3/gcc_64/lib
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8