Skip to content

Commit

Permalink
Temporary disable Bootsnap to fix QEMU issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ledermann committed Feb 21, 2025
1 parent 790a68a commit 4b59185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ONBUILD RUN --mount=type=secret,id=bundleconfig,dst=/root/.bundle/config \
bundle config --local without 'development test' && \
bundle install -j4 --retry 3 && \
# Precompile gems with Bootsnap (and ignore errors)
bundle exec bootsnap precompile --gemfile || true && \
# bundle exec bootsnap precompile --gemfile || true && \
# Remove unneeded gems
bundle clean --force && \
# Remove unneeded files from installed gems (cache, *.o, *.c)
Expand All @@ -61,7 +61,7 @@ ONBUILD RUN --mount=type=secret,id=bundleconfig,dst=/root/.bundle/config \
ONBUILD COPY . /app

# Precompile application code with Bootsnap (and ignore errors)
ONBUILD RUN bundle exec bootsnap precompile app/ lib/ || true
# ONBUILD RUN bundle exec bootsnap precompile app/ lib/ || true

# Precompile assets
#
Expand Down

0 comments on commit 4b59185

Please sign in to comment.