Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Fix for compilation due to minimum Cmake version update and arm based compilation of vcpkg (#10297)

princeyogesh10ff3e693725
diff --git a/Dockerfile b/Dockerfile
index 8544219c2..f0e4e4a4a 100644
--- a/Dockerfile
+++ b/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