Chore: fix windows building caz useless MSVC

This commit is contained in:
SlynxCZ 2026-01-14 17:20:19 +04:00
parent 8d7a694d72
commit c49b9d540f
4 changed files with 11 additions and 27 deletions

View file

@ -2,9 +2,14 @@ FROM registry.gitlab.steamos.cloud/steamrt/sniper/sdk:latest
WORKDIR /app
RUN echo "deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-21 main" >> /etc/apt/sources.list.d/llvm.list
RUN echo "deb-src http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-21 main" >> /etc/apt/sources.list.d/llvm.list
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
RUN apt update && apt install -y clang-21
RUN ln -sf /usr/bin/clang-21 /usr/bin/clang && ln -sf /usr/bin/clang++-21 /usr/bin/clang++
RUN apt update && apt install -y \
build-essential \
g++ \
cmake \
ninja-build \
git \