From ced62bcbc2fed5d3ab2d02c04539f0816e60e482 Mon Sep 17 00:00:00 2001 From: Daniel Uber Date: Mon, 5 Apr 2021 19:54:12 -0500 Subject: [PATCH] Update bundler from 2.1 to 2.2 (#13261) We started seeing buildkite failures building after the rails 6.1 upgrade While the bundler version probably isn't important by itself, changing the containerfile invalidates any cached layers used to speed up the build. --- Containerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index d9dc07b0d..e826ed7df 100644 --- a/Containerfile +++ b/Containerfile @@ -10,7 +10,7 @@ RUN curl -sL https://dl.yarnpkg.com/rpm/yarn.repo -o /etc/yum.repos.d/yarn.repo dnf -y clean all && \ rm -rf /var/cache/yum -ENV BUNDLER_VERSION=2.1.4 BUNDLE_SILENCE_ROOT_WARNING=true BUNDLE_SILENCE_DEPRECATIONS=true +ENV BUNDLER_VERSION=2.2.15 BUNDLE_SILENCE_ROOT_WARNING=true BUNDLE_SILENCE_DEPRECATIONS=true RUN gem install -N bundler:"${BUNDLER_VERSION}" ENV APP_USER=forem APP_UID=1000 APP_GID=1000 APP_HOME=/opt/apps/forem \ @@ -125,4 +125,3 @@ RUN bundle config --local build.sassc --disable-march-tune-native && \ ENTRYPOINT ["./scripts/entrypoint.sh"] CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0", "-p", "3000"] -