From 6483705401fcd664f2e3888c94ed9ce110c448b5 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Fri, 11 Nov 2022 14:41:01 +0000 Subject: [PATCH] Force Ruby to actually install arm deps --- Dockerfile.aarch64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 11f2af0..f981ee0 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -50,10 +50,10 @@ RUN \ /tmp/mastodon.tar.gz -C \ /app/www/ --strip-components=1 && \ cd /app/www && \ - gem install nokogiri --platform=ruby -- --use-system-libraries && \ bundle config set --local deployment 'true' && \ bundle config set --local without 'development test' && \ bundle config set silence_root_warning true && \ + bundle config set force_ruby_platform true && \ bundle install -j"$(nproc)" && \ yarn install --pure-lockfile && \ OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile && \