[openstreetmap/openstreetmap-website] Errors on Docker + Apple Silicon (Issue #6287)
Grant
notifications at github.com
Tue Aug 5 19:22:55 UTC 2025
Firefishy left a comment (openstreetmap/openstreetmap-website#6287)
A platform agnostic solution would be to replace the `RUN bundle install` in the `Dockerfile` with something like:
```
RUN export GD2_LIBRARY_FULL_PATH=$(find \
/usr/local/lib64 /usr/local/lib \
/opt/local/lib64 /opt/local/lib \
/usr/lib64 /usr/lib \
/usr/lib/x86_64-linux-gnu /usr/lib/i386-linux-gnu \
/usr/lib/aarch64-linux-gnu /usr/lib/arm-linux* \
-type f -name 'libgd.so.*' 2>/dev/null | head -n 1) && \
echo "Using GD2_LIBRARY_FULL_PATH=$GD2_LIBRARY_FULL_PATH" && \
bundle install
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6287#issuecomment-3156317114
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6287/3156317114 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250805/08c4c065/attachment.htm>
More information about the rails-dev
mailing list