update boost version.
Some checks failed
Deploy Docker Images / Docusaurus build and Server deploy (push) Failing after 26s

This commit is contained in:
amass 2024-08-19 23:25:02 +08:00
parent 8dcb1a53a8
commit 91f152c0a3

View File

@ -35,14 +35,14 @@ RUN git config --global user.email "168062547@qq.com" \
&& git config --global user.name "amass"
RUN cd /root \
&& wget https://frp-by1.wwvvww.cn:44048/s/boost_1_85_0/download -O boost_1_85_0.tar.gz \
&& tar xvf boost_1_85_0.tar.gz > /dev/null \
&& cd /root/boost_1_85_0 \
&& ./bootstrap.sh --prefix=/opt/Libraries/boost_1_85_0 \
&& ./b2 install -q --prefix=/opt/Libraries/boost_1_85_0 threading=multi link=shared runtime-link=shared variant=release cxxstd=17 cxxflags=-fPIC cflags=-fPIC \
&& rm -fr /root/boost_1_85_0*
&& wget https://frp-by1.wwvvww.cn:44048/s/boost_1_86_0/download -O boost_1_86_0.tar.gz \
&& tar xvf boost_1_86_0.tar.gz > /dev/null \
&& 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*
ENV LD_LIBRARY_PATH=/opt/Libraries/boost_1_85_0/lib:$LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/opt/Libraries/boost_1_86_0/lib:$LD_LIBRARY_PATH
CMD ["service", "ssh", "start", "-D"]
ENV LANG C.UTF-8