mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-18 20:53:40 +08:00
20 lines
297 B
Docker
20 lines
297 B
Docker
FROM centos:latest
|
|
|
|
# Build dependency
|
|
RUN yum update -y &&\
|
|
yum install -y epel-release &&\
|
|
yum install -y clang cmake3 gcc-c++ make &&\
|
|
yum clean all
|
|
|
|
# Test dependency
|
|
RUN yum install -y expect vim-common
|
|
|
|
ADD . /src
|
|
WORKDIR /src
|
|
|
|
# Build fish
|
|
RUN cmake3 . &&\
|
|
make &&\
|
|
make install
|
|
|