Fix installations of fpm 1.12.0

* Pin fpm on older distros for compatibility with Ruby < 2.3
* Fix hardcoded references to fpm 1.11.0
This commit is contained in:
Greg Lin 2021-01-26 11:39:01 -06:00
commit 3de0397cee

View file

@ -51,7 +51,8 @@ RUN yum -y update \
RUN pip3 install awscli --upgrade --user && \
ln -s /root/.local/bin/aws /usr/bin/aws
RUN gem install ffi:1.12.2 fpm
# Pin fpm for compatibility with Ruby < 2.3
RUN gem install ffi:1.12.2 fpm:1.11.0
RUN chmod 0777 /opt