aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Bruno Pinto <brunoferreirapinto@gmail.com>2015-01-19 02:07:23 -0200
committerGravatar Bruno Pinto <brunoferreirapinto@gmail.com>2015-01-19 02:13:36 -0200
commit789a54222d09776fd417857a4d1c2b86d85cce90 (patch)
tree78e3425084bafd768fe6b6aee07fe0b0f14e26e0 /Dockerfile
parent68efa5233c3fb338a52c38730a04d0da1c50ff30 (diff)
adding a dockerfile building fish on a centos machine
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..e907e95a
--- /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
+