From caf35701efaac9c5f15c12c6239d705ae92f2fd5 Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Tue, 20 May 2025 14:00:31 -0400 Subject: [PATCH] Fix Docker builds after package updates --- .devcontainer/Dockerfile | 2 ++ Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index cc56694e..9ae237ff 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -10,6 +10,8 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ imagemagick \ iproute2 \ libpq-dev \ + libyaml-dev \ + libyaml-0-2 \ openssh-client \ postgresql-client \ vim diff --git a/Dockerfile b/Dockerfile index 81805bee..2092d0ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /rails # Install base packages RUN apt-get update -qq && \ - apt-get install --no-install-recommends -y curl libvips postgresql-client + apt-get install --no-install-recommends -y curl libvips postgresql-client libyaml-0-2 # Set production environment ARG BUILD_COMMIT_SHA @@ -23,7 +23,7 @@ ENV RAILS_ENV="production" \ FROM base AS build # Install packages needed to build gems -RUN apt-get install --no-install-recommends -y build-essential libpq-dev git pkg-config +RUN apt-get install --no-install-recommends -y build-essential libpq-dev git pkg-config libyaml-dev # Install application gems COPY .ruby-version Gemfile Gemfile.lock ./