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.
This commit is contained in:
parent
77a3901998
commit
ced62bcbc2
1 changed files with 1 additions and 2 deletions
|
|
@ -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"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue