blob: 415d94004f901970e21475c70a4e2a02fe38e212 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
&& make \
&& make install \
&& cd /build
|