mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 01:52:39 +08:00
Dockerfile: move to CMake
This commit is contained in:
parent
fe79badaef
commit
44bb098404
|
@ -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 New Issue
Block a user