Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Installed FFI manually
Browse files Browse the repository at this point in the history
  • Loading branch information
Pure-AdamuKaapan committed Jan 27, 2021
1 parent 6a9ad8d commit 8f2cbf1
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions images/lorax-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit 8f2cbf1

Please sign in to comment.