Update Dockerfile for cmake3

This commit is contained in:
ridiculousfish 2019-04-28 11:41:37 -07:00
parent 2507162f80
commit 3c9f95594a

View File

@ -2,7 +2,8 @@ FROM centos:latest
# Build dependency
RUN yum update -y &&\
yum install -y clang cmake gcc-c++ make ncurses-devel &&\
yum install -y epel-release &&\
yum install -y clang cmake3 gcc-c++ make ncurses-devel &&\
yum clean all
# Test dependency
@ -12,7 +13,7 @@ ADD . /src
WORKDIR /src
# Build fish
RUN cmake . &&\
RUN cmake3 . &&\
make &&\
make install