Skip to content

Commit

Permalink
Fix: Added build-base and curl.
Browse files Browse the repository at this point in the history
  • Loading branch information
nakoo committed Feb 1, 2019
1 parent d0a6171 commit 3d6e6f8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ FROM ruby:2.6-alpine

RUN mkdir /usr/src/app \
&& chown $(id -un):$(id -gn) /usr/src/app \
&& apk add --no-cache libxml2-dev libxslt-dev \
&& gem install bundler \
&& bundle config build.nokogiri --use-system-libraries
&& apk add --no-cache build-base curl libxml2-dev libxslt-dev \
&& gem install bundler

ENV RAILS_ENV=development

Expand Down

0 comments on commit 3d6e6f8

Please sign in to comment.