correct docker build.
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Has been cancelled
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Has been cancelled
This commit is contained in:
parent
a43929fb81
commit
d57afcc7e3
@ -65,8 +65,8 @@ RUN cd /opt \
|
||||
&& git clone --depth=1 https://github.com/emscripten-core/emsdk.git \
|
||||
&& cd /opt/emsdk \
|
||||
&& ./emsdk install latest \
|
||||
&& ./emsdk activate latest \
|
||||
&& echo 'export EMSDK_QUIET=1; source /opt/emsdk/emsdk_env.sh' >> /etc/profile
|
||||
&& ./emsdk activate latest
|
||||
ENV PATH=/opt/emsdk:/opt/emsdk/node/20.18.0_64bit/bin:/opt/emsdk/upstream/emscripten:$PATH
|
||||
|
||||
RUN cd /root \
|
||||
&& apt update \
|
||||
@ -80,8 +80,9 @@ RUN cd /root \
|
||||
&& ./configure -prefix /opt/Qt/6.8.0/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.8.0* \
|
||||
&& echo 'export PATH=/opt/Qt/6.8.0/gcc_64/bin:$PATH' >> /etc/profile
|
||||
&& rm -fr /root/qt-everywhere-src-6.8.0*
|
||||
ENV PATH=/opt/Qt/6.8.0/gcc_64/bin:$PATH
|
||||
ENV LD_LIBRARY_PATH=/opt/Qt/6.8.0/gcc_64/lib:$LD_LIBRARY_PATH
|
||||
|
||||
RUN cd /root \
|
||||
&& wget https://frp-by1.wwvvww.cn:44048/s/boost_1_86_0/download -O boost_1_86_0.tar.gz \
|
||||
@ -89,8 +90,8 @@ RUN cd /root \
|
||||
&& cd /root/boost_1_86_0 \
|
||||
&& ./bootstrap.sh --prefix=/opt/Libraries/boost_1_86_0 \
|
||||
&& ./b2 install -q --prefix=/opt/Libraries/boost_1_86_0 threading=multi link=shared runtime-link=shared variant=release cxxstd=17 cxxflags=-fPIC cflags=-fPIC \
|
||||
&& echo 'export LD_LIBRARY_PATH=/opt/Libraries/boost_1_86_0/lib:$LD_LIBRARY_PATH' >> /etc/profile \
|
||||
&& rm -fr /root/boost_1_86_0*
|
||||
ENV LD_LIBRARY_PATH=/opt/Libraries/boost_1_86_0/lib:LD_LIBRARY_PATH
|
||||
|
||||
RUN cd /root \
|
||||
&& wget https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-3.6.2/mbedtls-3.6.2.tar.bz2 \
|
||||
@ -135,10 +136,9 @@ RUN cd /root \
|
||||
&& cmake -G Ninja -B build -S . -DENABLE_OPENSSL=true -DENABLE_WEBRTC=true -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/opt/Libraries/ZLMediaKit" \
|
||||
&& cmake --build build --target all \
|
||||
&& cmake --install build \
|
||||
&& echo 'export LD_LIBRARY_PATH=/opt/Libraries/ZLMediaKit/lib:$LD_LIBRARY_PATH' >> /etc/profile \
|
||||
&& rm -fr /root/ZLMediaKit
|
||||
ENV LD_LIBRARY_PATH=/opt/Libraries/ZLMediaKit/lib:$LD_LIBRARY_PATH
|
||||
|
||||
ENV LD_LIBRARY_PATH=/opt/Libraries/boost_1_86_0/lib:/opt/Libraries/ZLMediaKit/lib
|
||||
ENV LANG=C.UTF-8
|
||||
ENV LC_ALL=C.UTF-8
|
||||
ENV TERM=xterm-256color
|
||||
|
@ -52,8 +52,8 @@ RUN cd /opt \
|
||||
&& git clone --depth=1 https://github.com/emscripten-core/emsdk.git \
|
||||
&& cd /opt/emsdk \
|
||||
&& ./emsdk install latest \
|
||||
&& ./emsdk activate latest \
|
||||
&& echo 'export EMSDK_QUIET=1; source /opt/emsdk/emsdk_env.sh' >> /etc/profile
|
||||
&& ./emsdk activate latest
|
||||
ENV PATH=/opt/emsdk:/opt/emsdk/node/20.18.0_64bit/bin:/opt/emsdk/upstream/emscripten:$PATH
|
||||
|
||||
RUN cd /root \
|
||||
&& apt update \
|
||||
@ -67,8 +67,9 @@ RUN cd /root \
|
||||
&& ./configure -prefix /opt/Qt/6.8.0/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.8.0* \
|
||||
&& echo 'export PATH=/opt/Qt/6.8.0/gcc_64/bin:$PATH' >> /etc/profile
|
||||
&& rm -fr /root/qt-everywhere-src-6.8.0*
|
||||
ENV PATH=/opt/Qt/6.8.0/gcc_64/bin:$PATH
|
||||
ENV LD_LIBRARY_PATH=/opt/Qt/6.8.0/gcc_64/lib:$LD_LIBRARY_PATH
|
||||
|
||||
RUN cd /root \
|
||||
&& wget https://frp-by1.wwvvww.cn:44048/s/boost_1_86_0/download -O boost_1_86_0.tar.gz \
|
||||
@ -76,8 +77,8 @@ RUN cd /root \
|
||||
&& cd /root/boost_1_86_0 \
|
||||
&& ./bootstrap.sh --prefix=/opt/Libraries/boost_1_86_0 \
|
||||
&& ./b2 install -q --prefix=/opt/Libraries/boost_1_86_0 threading=multi link=shared runtime-link=shared variant=release cxxstd=17 cxxflags=-fPIC cflags=-fPIC \
|
||||
&& rm -fr /root/boost_1_86_0* \
|
||||
&& echo 'export LD_LIBRARY_PATH=/opt/Libraries/boost_1_86_0/lib:$LD_LIBRARY_PATH' >> /etc/profile
|
||||
&& rm -fr /root/boost_1_86_0*
|
||||
ENV LD_LIBRARY_PATH=/opt/Libraries/boost_1_86_0/lib:LD_LIBRARY_PATH
|
||||
|
||||
RUN cd /root \
|
||||
&& wget https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-3.6.2/mbedtls-3.6.2.tar.bz2 \
|
||||
@ -122,10 +123,8 @@ RUN cd /root \
|
||||
&& cmake -G Ninja -B build -S . -DENABLE_OPENSSL=true -DENABLE_WEBRTC=true -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/opt/Libraries/ZLMediaKit" \
|
||||
&& cmake --build build --target all \
|
||||
&& cmake --install build \
|
||||
&& 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:/opt/Qt/6.8.0/gcc_64/lib
|
||||
ENV LD_LIBRARY_PATH=/opt/Libraries/ZLMediaKit/lib:$LD_LIBRARY_PATH
|
||||
|
||||
ENV LANG=C.UTF-8
|
||||
ENV LC_ALL=C.UTF-8
|
||||
|
Loading…
Reference in New Issue
Block a user