mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 11:45:08 +00:00
Dockerfile: move to CMake
This commit is contained in:
parent
fe79badaef
commit
44bb098404
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue