Skip to content

Commit

Permalink
Fix psych gem installation in image build
Browse files Browse the repository at this point in the history
  • Loading branch information
aspettl committed Feb 15, 2025
1 parent 86e61c9 commit a1183f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ruby:3.4.2-slim-bookworm AS builder

RUN apt-get update && apt-get install -y build-essential libmariadb-dev && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y build-essential libmariadb-dev libyaml-dev && rm -rf /var/lib/apt/lists/*

WORKDIR /app

Expand All @@ -21,7 +21,7 @@ RUN RAILS_ENV=production SECRET_KEY_BASE=irrelevant bundle exec rails assets:pre
FROM ruby:3.4.2-slim-bookworm
LABEL maintainer="[email protected]"

RUN apt-get update && apt-get install -y libmariadb3 && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y libmariadb3 libyaml-0-2 && rm -rf /var/lib/apt/lists/*

WORKDIR /app

Expand Down

0 comments on commit a1183f8

Please sign in to comment.