mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
19 lines
275 B
Docker
19 lines
275 B
Docker
FROM centos:latest
|
|
|
|
# Build dependency
|
|
RUN yum update -y &&\
|
|
yum install -y clang cmake gcc-c++ make ncurses-devel &&\
|
|
yum clean all
|
|
|
|
# Test dependency
|
|
RUN yum install -y expect vim-common
|
|
|
|
ADD . /src
|
|
WORKDIR /src
|
|
|
|
# Build fish
|
|
RUN cmake . &&\
|
|
make &&\
|
|
make install
|
|
|