Fix centos6 packages build.
authorWard Vandewege <ward@curoverse.com>
Tue, 26 Apr 2016 15:58:53 +0000 (11:58 -0400)
committerWard Vandewege <ward@curoverse.com>
Tue, 26 Apr 2016 15:58:53 +0000 (11:58 -0400)
No issue #

build/package-build-dockerfiles/centos6/Dockerfile

index cd508da6f634cbb75401ca485e33dc22a3f80191..679f68e64e81ca079eb63aaf1c620ae93c6f4c8e 100644 (file)
@@ -20,6 +20,10 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
 RUN touch /var/lib/rpm/* && yum -q -y install python27 python33
 RUN scl enable python33 "easy_install-3.3 pip" && scl enable python27 "easy_install-2.7 pip"
 
+# fpm requires ffi which now wants xz-libs-5 which isn't packaged for centos6
+# but the library from xz-libs-4.999 appears to be good enough.
+RUN ln -s /usr/lib64/liblzma.so.0 /usr/lib64/lzma.so.5
+
 RUN cd /tmp && \
     curl -OL 'http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm' && \
     rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm && \