Dockerfile: move to CMake

This commit is contained in:
David Adam 2019-02-28 00:05:50 +11:00
parent fe79badaef
commit 44bb098404

View File

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