Pin fpm to 1.11.0

fpm 1.12.0 adds an unintended runtime dependency on git, which should be
fixed in a future release. Pin fpm for now since installing git has its
own side effects, such as installing less and changing the default pager
on systems where less isn't available by default.
This commit is contained in:
Greg Lin 2021-02-16 10:51:15 -06:00
commit 6098b0074f
8 changed files with 16 additions and 8 deletions

View file

@ -52,7 +52,8 @@ RUN dnf -y upgrade \
RUN pip3 install awscli --upgrade --user \
&& ln -s /root/.local/bin/aws /usr/bin/aws
RUN gem install fpm
# Pin fpm to avoid git dependency in 1.12.0
RUN gem install fpm:1.11.0
RUN chmod 0777 /opt

View file

@ -14,7 +14,8 @@ RUN pip3 install awscli
RUN chmod 0777 /opt
RUN gem install fpm
# Pin fpm to avoid git dependency in 1.12.0
RUN gem install fpm:1.11.0
# Override the default pager used by R
ENV PAGER /usr/bin/pager

View file

@ -14,7 +14,8 @@ RUN pip install awscli
RUN chmod 0777 /opt
RUN gem install fpm
# Pin fpm to avoid git dependency in 1.12.0
RUN gem install fpm:1.11.0
# Override the default pager used by R
ENV PAGER /usr/bin/pager

View file

@ -66,7 +66,8 @@ RUN zypper --non-interactive --gpg-auto-import-keys -n install \
RUN pip install awscli
RUN gem install fpm && \
# Pin fpm to avoid git dependency in 1.12.0
RUN gem install fpm:1.11.0 && \
ln -s /usr/bin/fpm.ruby2.5 /usr/local/bin/fpm
RUN chmod 0777 /opt

View file

@ -66,7 +66,8 @@ RUN zypper --non-interactive --gpg-auto-import-keys -n install \
RUN pip install awscli
RUN gem install fpm && \
# Pin fpm to avoid git dependency in 1.12.0
RUN gem install fpm:1.11.0 && \
ln -s /usr/bin/fpm.ruby2.5 /usr/local/bin/fpm
RUN chmod 0777 /opt

View file

@ -11,7 +11,8 @@ RUN set -x \
RUN pip install awscli
RUN gem install fpm
# Pin fpm to avoid git dependency in 1.12.0
RUN gem install fpm:1.11.0
RUN chmod 0777 /opt

View file

@ -11,7 +11,8 @@ RUN set -x \
RUN pip install awscli
RUN gem install fpm
# Pin fpm to avoid git dependency in 1.12.0
RUN gem install fpm:1.11.0
RUN chmod 0777 /opt

View file

@ -11,7 +11,8 @@ RUN set -x \
RUN pip3 install awscli
RUN gem install fpm
# Pin fpm to avoid git dependency in 1.12.0
RUN gem install fpm:1.11.0
RUN chmod 0777 /opt