Skip to content

Commit

Permalink
chore: install libyaml-dev package
Browse files Browse the repository at this point in the history
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:
rails/rails#54237
  • Loading branch information
nicolastemciuc committed Jan 14, 2025
1 parent 0cf0e3b commit a294eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a294eec

Please sign in to comment.