Skip to content

Commit

Permalink
fix nokogiri install on mips64le by using system libraries instead of…
Browse files Browse the repository at this point in the history
… gem-provided ones
  • Loading branch information
yosifkit committed Jan 5, 2024
1 parent 27ae7a1 commit 9f8737b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 5.0/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions 5.1/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Dockerfile-debian.template
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ RUN set -eux; \
gcc \
libpq-dev \
libsqlite3-dev \
libxml2-dev \
libxslt-dev \
make \
patch \
pkgconf \
Expand All @@ -118,6 +120,8 @@ RUN set -eux; \
echo "$adapter:" >> ./config/database.yml; \
echo " adapter: $adapter" >> ./config/database.yml; \
done; \
# nokogiri's vendored libxml2 + libxslt do not build on mips64le, so use the apt packages when building
gosu redmine bundle config build.nokogiri --use-system-libraries; \
gosu redmine bundle install --jobs "$(nproc)"; \
rm ./config/database.yml; \
# fix permissions for running as an arbitrary user
Expand Down

0 comments on commit 9f8737b

Please sign in to comment.