1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-18 12:49:38 +02:00

Fix Docker builds after package updates

This commit is contained in:
Zach Gollwitzer 2025-05-20 14:00:31 -04:00
parent 94a807c3c9
commit caf35701ef
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

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