aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-11-08 23:14:10 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-11-08 23:14:10 -0500
commit79a4dcec2e34c5d58ab0661146ee9727452d672b (patch)
tree7ba0b1b446c048dfbc8d2050f9a1615dbbc2812f /Dockerfile
parent477ecc69f6a8cc6a00015d21e7cb27baf59ba689 (diff)
downloadspm-79a4dcec2e34c5d58ab0661146ee9727452d672b.tar.gz
Whoosh
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..ca4cb62
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,27 @@
+FROM centos:6
+RUN yum install -y epel-release && yum clean -y all
+RUN yum install -y \
+ autoconf \
+ automake \
+ cmake \
+ gcc \
+ gcc-c++ \
+ gcc-gfortran \
+ help2man \
+ libX11-devel \
+ libxml2-devel \
+ patchelf \
+ perl \
+ rsync \
+ && yum clean -y all
+WORKDIR /build
+COPY spm ./
+COPY include ./include
+RUN curl -L https://github.com/jhunkeler/reloc/archive/master.tar.gz | tar zxf - \
+ && cd reloc-* \
+ && mkdir -p build \
+ && cd build \
+ && cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ && make \
+ && make install \
+ && cd /build