chore: fix debian.Dockerfile

This commit is contained in:
LongYinan 2021-11-01 01:54:36 +08:00
parent 59bf55c1fa
commit 05a669d652
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -43,7 +43,8 @@ RUN apt-get update && \
ln -sf /usr/bin/clang-13 /usr/bin/clang && \
ln -sf /usr/bin/lld-13 /usr/bin/lld && \
ln -sf /usr/bin/gcc-10 /usr/bin/gcc && \
ln -sf /usr/bin/g++-10 /usr/bin/g++
ln -sf /usr/bin/g++-10 /usr/bin/g++ && \
ln -sf /usr/bin/gcc-10 /usr/bin/cc
RUN wget https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/nasm-${NASM_VERSION}.tar.xz && \
tar -xf nasm-${NASM_VERSION}.tar.xz && \
@ -54,11 +55,3 @@ RUN wget https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/nasm-${NASM_
cd / && \
rm -rf nasm-${NASM_VERSION} && \
rm nasm-${NASM_VERSION}.tar.xz
RUN git clone --branch release https://github.com/Kitware/CMake.git --depth 1 && \
cd CMake && \
CXX=g++ ./bootstrap && \
make -j 8 && \
make install && \
cd .. && \
rm -rf CMake