From 789a54222d09776fd417857a4d1c2b86d85cce90 Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Mon, 19 Jan 2015 02:07:23 -0200 Subject: [PATCH] adding a dockerfile building fish on a centos machine --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..e907e95a1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +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 +