mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-10 18:06:01 +02:00
Fix for compilation due to minimum Cmake version update and arm based compilation of vcpkg (#10297)
This commit is contained in:
parent
acae6d6558
commit
10ff3e6937
1 changed files with 10 additions and 1 deletions
11
Dockerfile
11
Dockerfile
|
@ -2,6 +2,7 @@ FROM debian:bullseye-slim
|
|||
|
||||
WORKDIR /
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ENV VCPKG_FORCE_SYSTEM_BINARIES=1
|
||||
RUN apt update -y && \
|
||||
apt install --yes --no-install-recommends \
|
||||
g++ \
|
||||
|
@ -21,7 +22,8 @@ RUN apt update -y && \
|
|||
libpam0g-dev \
|
||||
libpulse-dev \
|
||||
make \
|
||||
cmake \
|
||||
wget \
|
||||
libssl-dev \
|
||||
unzip \
|
||||
zip \
|
||||
sudo \
|
||||
|
@ -31,6 +33,13 @@ RUN apt update -y && \
|
|||
ninja-build && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN wget https://github.com/Kitware/CMake/releases/download/v3.30.6/cmake-3.30.6.tar.gz --no-check-certificate && \
|
||||
tar xzf cmake-3.30.6.tar.gz && \
|
||||
cd cmake-3.30.6 && \
|
||||
./configure --prefix=/usr/local && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
RUN git clone --branch 2023.04.15 --depth=1 https://github.com/microsoft/vcpkg && \
|
||||
/vcpkg/bootstrap-vcpkg.sh -disableMetrics && \
|
||||
/vcpkg/vcpkg --disable-metrics install libvpx libyuv opus aom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue