Skip to content

Commit

Permalink
Install libyaml dep to prevent psych gem installation failing
Browse files Browse the repository at this point in the history
```
#11 106.1 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
#11 106.1
#11 106.1     current directory: /usr/local/bundle/gems/psych-5.2.2/ext/psych
#11 106.1 /usr/local/bin/ruby extconf.rb
#11 106.1 checking for yaml.h... no
#11 106.1 yaml.h not found
```
  • Loading branch information
fbacall committed Jan 15, 2025
1 parent d38c12d commit ae5ba73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM ruby:$RUBY_VERSION-slim AS base
WORKDIR /code

# install dependencies
RUN apt-get update && apt-get install build-essential curl file git gnupg2 imagemagick libpq-dev nodejs -y
RUN apt-get update && apt-get install build-essential curl file git gnupg2 imagemagick libpq-dev libyaml-dev nodejs -y

# install supercronic - a cron alternative
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-amd64 \
Expand Down

0 comments on commit ae5ba73

Please sign in to comment.