Skip to content

Commit

Permalink
Update DockerFile-mangosd (mangoszero#190)
Browse files Browse the repository at this point in the history
Making sure CMake is updated
  • Loading branch information
fly-man- authored and billy1arm committed Oct 7, 2022
1 parent 98087fa commit 9e5f6bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dockercontainer/DockerFile-mangosd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e5f6bf

Please sign in to comment.