diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-06-04 18:21:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 18:21:34 -0400 |
commit | f76fed00c9c9289b354e7f8dd6f14ea699ef16a2 (patch) | |
tree | f78be5fa8c4de8657798cc8f63f4497930c8e16b /images | |
parent | 65934ab40dfba9be3c0d6cb535f4243e25920711 (diff) | |
download | spmc-f76fed00c9c9289b354e7f8dd6f14ea699ef16a2.tar.gz |
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
Diffstat (limited to 'images')
-rw-r--r-- | images/spmbuild/Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
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"] |