Edit Dockerfile.ubuntu18

This commit is contained in:
2025-07-22 21:54:15 +00:00
parent ad1cca2b17
commit 393d137c8f

View File

@@ -1,4 +1,4 @@
FROM ubuntu:18.04
RUN apt update -y && apt install -y build-essential g++ gcc cmake make git wget curl ca-certificates
RUN wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz && tar -zvxf cmake-3.20.0.tar.gz && cd cmake-3.20.0 && ./bootstrap && make -j16 && make install
RUN apt update -y && apt install -y build-essential g++ gcc cmake make git wget curl ca-certificates libssl-dev
RUN wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz && tar -zvxf cmake-3.20.0.tar.gz && cd cmake-3.20.0 && ./bootstrap --parallel=`nproc` && make -j`nproc` && make install