Can build with docker on Windows
This commit is contained in:
+10
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
g++ \
|
||||
make \
|
||||
cmake \
|
||||
pkg-config \
|
||||
xauth \
|
||||
gdb \
|
||||
gdbserver \
|
||||
@@ -25,8 +26,17 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
libvorbis-dev \
|
||||
libcurl4-openssl-dev \
|
||||
ca-certificates \
|
||||
wget \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Установка CMake >= 3.26 вручную
|
||||
ARG CMAKE_VERSION=3.27.9
|
||||
RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.sh && \
|
||||
chmod +x cmake-${CMAKE_VERSION}-linux-x86_64.sh && \
|
||||
./cmake-${CMAKE_VERSION}-linux-x86_64.sh --skip-license --prefix=/usr/local && \
|
||||
rm cmake-${CMAKE_VERSION}-linux-x86_64.sh
|
||||
|
||||
|
||||
# Install EnTT
|
||||
RUN git clone https://github.com/skypjack/entt.git && \
|
||||
cd entt/build && \
|
||||
|
||||
Reference in New Issue
Block a user