mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 22:34:29 +08:00
db1d694aec
As math is now a builtin bc is no longer required.
20 lines
308 B
Docker
20 lines
308 B
Docker
FROM centos:latest
|
|
|
|
# Build dependency
|
|
RUN yum update -y &&\
|
|
yum install -y autoconf automake clang gcc-c++ make ncurses-devel &&\
|
|
yum clean all
|
|
|
|
# Test dependency
|
|
RUN yum install -y expect vim-common
|
|
|
|
ADD . /src
|
|
WORKDIR /src
|
|
|
|
# Build fish
|
|
RUN autoreconf &&\
|
|
./configure &&\
|
|
make &&\
|
|
make install
|
|
|