From f76fed00c9c9289b354e7f8dd6f14ea699ef16a2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 4 Jun 2020 18:21:34 -0400 Subject: Bsdtar (#42) * Add docker build image * Use bsdtar * Disable ORIGIN * tar is bsdtar * Use absolute rpath * Replace matched path with destroot+libpath * No RPATH recieves a likely default path * Use RPATH not RUNPATH * Add bsdtar to circleci deps * Replace tar references --- images/spmbuild/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 images/spmbuild/Dockerfile (limited to 'images') diff --git a/images/spmbuild/Dockerfile b/images/spmbuild/Dockerfile new file mode 100644 index 0000000..1a939f8 --- /dev/null +++ b/images/spmbuild/Dockerfile @@ -0,0 +1,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"] -- cgit