This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
2424 apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" && \
2525 apt-get update && \
2626 apt-get install -y --no-install-recommends \
27- cmake \
2827 make \
2928 git \
3029 uuid-dev \
@@ -37,11 +36,21 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
3736 ninja-build \
3837 pkg-config \
3938 python3-pip \
40- openssl && \
39+ openssl \
40+ libssl-dev && \
4141 pip3 install awscli && \
4242 apt-get clean && \
4343 rm -rf /var/lib/apt/lists/*
4444
45+ # Download and install CMake 3.22.6
46+ RUN wget https://github.com/Kitware/CMake/releases/download/v3.22.6/cmake-3.22.6.tar.gz -q -O /tmp/cmake.tar.gz && \
47+ tar -xzf /tmp/cmake.tar.gz -C /tmp && \
48+ cd /tmp/cmake-3.22.6 && \
49+ ./bootstrap && \
50+ make -j$(nproc) && \
51+ make install && \
52+ rm -rf /tmp/cmake.tar.gz /tmp/cmake-3.22.6
53+
4554ARG CORTEX_CPP_VERSION=latest
4655ARG CMAKE_EXTRA_FLAGS=""
4756
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
2424 apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" && \
2525 apt-get update && \
2626 apt-get install -y --no-install-recommends \
27- cmake \
2827 make \
2928 git \
3029 uuid-dev \
@@ -37,11 +36,21 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
3736 ninja-build \
3837 pkg-config \
3938 python3-pip \
40- openssl && \
39+ openssl \
40+ libssl-dev && \
4141 pip3 install awscli && \
4242 apt-get clean && \
4343 rm -rf /var/lib/apt/lists/*
4444
45+ # Download and install CMake 3.22.6
46+ RUN wget https://github.com/Kitware/CMake/releases/download/v3.22.6/cmake-3.22.6.tar.gz -q -O /tmp/cmake.tar.gz && \
47+ tar -xzf /tmp/cmake.tar.gz -C /tmp && \
48+ cd /tmp/cmake-3.22.6 && \
49+ ./bootstrap && \
50+ make -j$(nproc) && \
51+ make install && \
52+ rm -rf /tmp/cmake.tar.gz /tmp/cmake-3.22.6
53+
4554ARG CORTEX_CPP_VERSION=latest
4655ARG CMAKE_EXTRA_FLAGS=""
4756
You can’t perform that action at this time.
0 commit comments