|
@ -1,8 +1,8 @@ |
|
|
FROM centos:7 |
|
|
FROM ubuntu:16.04 |
|
|
|
|
|
|
|
|
RUN yum install -y git gcc make |
|
|
RUN apt-get update -y && apt-get install -y git gcc curl make |
|
|
|
|
|
|
|
|
# The CMake in Centos 7 was a bit too old for us to use so download one from |
|
|
# The CMake in Ubuntu 16.04 was a bit too old for us to use so download one from |
|
|
# CMake's own releases and use that instead. |
|
|
# CMake's own releases and use that instead. |
|
|
RUN curl -L https://github.com/Kitware/CMake/releases/download/v3.29.3/cmake-3.29.3-linux-x86_64.tar.gz | tar xzf - |
|
|
RUN curl -L https://github.com/Kitware/CMake/releases/download/v3.29.3/cmake-3.29.3-linux-x86_64.tar.gz | tar xzf - |
|
|
ENV PATH=$PATH:/cmake-3.29.3-linux-x86_64/bin |
|
|
ENV PATH=$PATH:/cmake-3.29.3-linux-x86_64/bin |
|
|