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 ./