Compare commits

..
2 Commits
Author SHA1 Message Date
randy 54e811ef95 chore(deps): update dependency suncalc to v2.1.4
CI / check (pull_request) Successful in 17s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 17s
CI / deploy (push) Successful in 13s
2026-11-12 11:52:17 +00:00
randy e63f6f7ce7 Enable YJIT in the container
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 1m2s
The official Ruby image ships YJIT but leaves it off. Set via ENV so the
puma server and rake jobs run through podman compose exec both get it.
2026-11-12 12:27:42 +01:00
+5
View File
@@ -3,6 +3,11 @@
# bookworm-backports doesn't carry a newer one either, only trixie's does. # bookworm-backports doesn't carry a newer one either, only trixie's does.
FROM ruby:4.0.9-slim-trixie FROM ruby:4.0.9-slim-trixie
# YJIT is compiled into the official image but off unless asked for. Set
# here rather than as a puma flag so `podman compose exec ... rake` jobs
# (places:index, gpx backfills) get it too.
ENV RUBY_YJIT_ENABLE=1
# build-essential: puma has a native (C) extension; harmless if the # build-essential: puma has a native (C) extension; harmless if the
# platform-specific gem in Gemfile.lock already has a precompiled binary # platform-specific gem in Gemfile.lock already has a precompiled binary
# matching this base image, but keeps the build working if it doesn't. # matching this base image, but keeps the build working if it doesn't.