From a294eec82b7fc3bc88fbf83c3aceb289836bb2d4 Mon Sep 17 00:00:00 2001 From: Nicolas Temciuc Date: Tue, 14 Jan 2025 11:38:50 -0300 Subject: [PATCH] chore: install `libyaml-dev` package In latest `Ruby` images `libyaml-dev` package was removed This package is needed to install `psych` gem. Here the package was added to the default Rails Dockerfile: https://github.com/rails/rails/pull/54237 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5569d7fd..17ff6fe9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ FROM base AS build # Install packages needed to build gems RUN apt-get update -qq && \ - apt-get install --no-install-recommends -y build-essential git libpq-dev pkg-config && \ + apt-get install --no-install-recommends -y build-essential git libpq-dev libyaml-dev pkg-config && \ rm -rf /var/lib/apt/lists /var/cache/apt/archives # Install application gems