Skip to content

Add libvips to ubuntu2404 image #984

@chris-john-hopkins

Description

@chris-john-hopkins

Is your improvement proposal related to a problem? Please describe.

We run apt-get update && apt-get install -y libvips42 libvips-dev in our pipeline prologue because libvips isn't pre-installed on the ubuntu2404 image. This adds 2-10 minutes to every job depending on Ubuntu mirror health. With 10 parallel test jobs, that's a lot of wasted CI time on installing a common package

Describe the solution you'd like

Pre-install libvips42 and libvips-dev on the ubuntu2404 (and ubuntu2204) images, the same way ImageMagick is already included.

Rails 7+ uses libvips as the default image processor (replacing ImageMagick), so most Rails apps running on Semaphore need it. GitHub Actions' Ubuntu images already include libvips.

Describe alternatives you've considered

Using a custom Docker image with libvips pre-installed

Additional context

The ubuntu2404 image already includes ImageMagick. Since Rails 7 switched the default from ImageMagick to libvips, adding libvips would cover the majority of modern Rails applications out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions