diff --git a/Dockerfile b/Dockerfile index 9bfa83f..09f2490 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,11 @@ # bookworm-backports doesn't carry a newer one either, only trixie's does. 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 # platform-specific gem in Gemfile.lock already has a precompiled binary # matching this base image, but keeps the build working if it doesn't.