blob: 1a939f8c5b025efac8eaec122193f90d6f270e2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FROM jhunkeler/spm_ci_centos7:latest
ARG RELOC_COMMIT=${RELOC_COMMIT:-}
ARG SPM_COMMIT=${SPM_COMMIT:-}
ENV PATH /opt/spm/bin:/usr/bin:/usr/sbin:/bin:/sbin
ENV SHELL /bin/bash
RUN yum install -y \
perl-Data-Dumper \
perl-Thread-Queue \
perl-ExtUtils-ParseXS
RUN ln -s cmake3 /usr/bin/cmake \
&& git clone https://github.com/jhunkeler/spmc \
&& git clone https://github.com/jhunkeler/reloc \
&& pushd reloc && mkdir build && cd build && git checkout ${RELOC_COMMIT} && cmake .. -DCMAKE_INSTALL_PREFIX=/opt/spm && make install && popd \
&& pushd spmc && mkdir build && cd build && git checkout ${SPM_COMMIT} && cmake .. -DCMAKE_INSTALL_PREFIX=/opt/spm && make install && popd
WORKDIR /spm_packages
CMD ["bash", "-l"]
|