mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
19 lines
311 B
Docker
19 lines
311 B
Docker
FROM centos:latest
|
|
|
|
# Build dependency
|
|
RUN yum update -y &&\
|
|
yum install -y epel-release &&\
|
|
yum install -y clang cmake3 gcc-c++ make ncurses-devel &&\
|
|
yum clean all
|
|
|
|
# Test dependency
|
|
RUN yum install -y expect vim-common
|
|
|
|
ADD . /src
|
|
WORKDIR /src
|
|
|
|
# Build fish
|
|
RUN cmake3 . &&\
|
|
make &&\
|
|
make install
|
|
|