Update DockerFile-mangosd (#190)

Making sure CMake is updated
This commit is contained in:
Fly Man 2022-10-07 21:00:21 +02:00 committed by billy1arm
parent 98087fa89a
commit 9e5f6bf3e1
No known key found for this signature in database
GPG Key ID: 0DF907270598C85F

View File

@ -9,6 +9,14 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
apt-get update
RUN apt-get -y install cmake
# CMake needs an update to compile on 18.04
RUN apt purge --auto-remove cmake -y
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6AF7F09730B3F0A4
RUN apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main"
RUN apt-get -y update
RUN apt-get -y install cmake
COPY . /mangoserver
RUN mkdir /mangoserver/build
WORKDIR /mangoserver/build