From 8f2cbf1ad5dfc46a9f695f332375ac02d015f7ff Mon Sep 17 00:00:00 2001 From: Adam Krpan Date: Wed, 27 Jan 2021 10:49:23 -0800 Subject: [PATCH] Installed FFI manually --- images/lorax-build/Dockerfile | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/images/lorax-build/Dockerfile b/images/lorax-build/Dockerfile index d122eb98..d84e25e7 100644 --- a/images/lorax-build/Dockerfile +++ b/images/lorax-build/Dockerfile @@ -32,9 +32,30 @@ RUN yum update -y && yum install -y \ # Note we install kubeadm only so we can snag a list of its required images with the config shipped # for this version of kubeadm (matches the one we install with our installer iso). -# Install fpm 0.3.11 specifically, as anything newer requires packages that are newer than our ruby version can allow, -# and we can't upgrade the ruby version because this is the latest available for this version of CentOS. -RUN gem install --no-ri --no-rdoc fpm -f -v 0.3.11 +# Working versions (stolen from last successful lorax-build image) +# arr-pm (0.0.10) +# backports (3.18.2) +# bigdecimal (1.2.0) +# cabin (0.9.0) +# childprocess (0.9.0) +# clamp (1.0.1) +# dotenv (2.7.6) +# ffi (1.13.1) +# fpm (1.11.0) +# insist (1.0.0) +# io-console (0.4.2) +# io-like (0.3.1) +# json (1.7.7) +# mustache (0.99.8) +# pleaserun (0.0.31) +# psych (2.0.0) +# rdoc (4.0.0) +# ruby-xz (0.2.3) +# stud (0.0.23) + +# Install FFI first to force the correct version +RUN gem install ffi -f -v 1.13.1 +RUN gem install --no-ri --no-rdoc fpm -f -v 1.11.0 COPY images/lorax-build/lorax.conf /etc/lorax/