Skip to content

Commit 37ff3d9

Browse files
authored
Update Ruby dependencies (#65)
Run `bundle update`. The `psych` package was having difficulty building, failing to find `yaml.h`, so installing `libyaml-dev`. Resolves a number of vulnerability warnings.
1 parent a765636 commit 37ff3d9

File tree

2 files changed

+224
-220
lines changed

2 files changed

+224
-220
lines changed

template/{{app_name}}/Dockerfile.jinja

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN apt-get update -qq \
3333
git \
3434
libpq-dev \
3535
libvips \
36+
libyaml-dev \
3637
pkg-config \
3738
npm \
3839
&& apt-get clean \
@@ -68,7 +69,7 @@ RUN bundle config set --local without production && \
6869

6970
# Install system-wide gems for development
7071
# This version must match Gemfile.lock. Otherwise, `rdbg` will fail.
71-
RUN gem install debug -v 1.9.2
72+
RUN gem install debug -v 1.10.0
7273

7374
# Copy application code
7475
COPY . .
@@ -112,6 +113,7 @@ RUN apt-get update -qq \
112113
&& apt-get install -y --no-install-recommends \
113114
curl \
114115
libvips \
116+
libyaml-dev \
115117
postgresql-client \
116118
python-is-python3 \
117119
python3-venv \

0 commit comments

Comments
 (0)