mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
Fix Docker builds after package updates
This commit is contained in:
parent
94a807c3c9
commit
caf35701ef
2 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,8 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
|
libyaml-dev \
|
||||||
|
libyaml-0-2 \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
postgresql-client \
|
postgresql-client \
|
||||||
vim
|
vim
|
||||||
|
|
|
@ -9,7 +9,7 @@ WORKDIR /rails
|
||||||
|
|
||||||
# Install base packages
|
# Install base packages
|
||||||
RUN apt-get update -qq && \
|
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
|
# Set production environment
|
||||||
ARG BUILD_COMMIT_SHA
|
ARG BUILD_COMMIT_SHA
|
||||||
|
@ -23,7 +23,7 @@ ENV RAILS_ENV="production" \
|
||||||
FROM base AS build
|
FROM base AS build
|
||||||
|
|
||||||
# Install packages needed to build gems
|
# 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
|
# Install application gems
|
||||||
COPY .ruby-version Gemfile Gemfile.lock ./
|
COPY .ruby-version Gemfile Gemfile.lock ./
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue