Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Caching Composer vendor and FFmpeg install between jobs for a PHP project

Дата публикации: 25-10-2026 13:46:11


Hi everyone, I have a PHP video app whose test job installs Composer dependencies and FFmpeg (via apt) on every run, which adds 2-3 minutes each time.
For Composer I’m using save_cache/restore_cache keyed on checksum of composer.lock, which mostly works. FFmpeg is the slow part. Is it better to build a custom Docker image with FFmpeg baked in, or is there a reasonable way to cache apt packages between jobs? Also, does anyone key the Composer cache on the PHP version too, to avoid stale extensions after an image upgrade?
Thanks for any tips!
2 posts - 2 participants
Read full topic


Основное содержимое страницы с новостью.

<------>

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Caddy, PHP and Docker08.2430-01-2022
2Semantic Caching for LLMs: FastAPI, Redis, and Embeddings01029-04-2026
3Trivial anti-crawler with Caddy08.4223-06-2026
4Elevated wait times for machine jobs07.2408-10-2026
5Как я потратил вечер, разбираясь, почему кэш в клоде, gpt и джемини — это три разных зверя06.6724-07-2026
6Delays starting jobs on Docker (Gen 2) resource classes014.3415-07-2026
7Draft ERC: Agent Safety Framework (ASF) — attributable adoption of versioned safety specifications05.2926-10-2026
8Ofelia – low-footprint job scheduler for Docker environments0518-06-2026
9Как поднять userver без Docker на Ubuntu06.8728-07-2026
10Gary Benson: Docker images by age or size04.7819-05-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 5.62. Источник: discuss.circleci.com.