Created
March 20, 2016 11:04
-
-
Save mizucopo/149c44a062118c8c786e to your computer and use it in GitHub Desktop.
ruby:alpine with nokogori
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:alpine | |
MAINTAINER mizu <[email protected]> | |
RUN set -x \ | |
&& apk upgrade --no-cache \ | |
&& apk add --no-cache --virtual build-dependencies \ | |
build-base \ | |
&& apk add --no-cache \ | |
libxml2-dev \ | |
libxslt-dev \ | |
&& gem install nokogiri \ | |
-- --use-system-libraries \ | |
--with-xml2-config=/usr/bin/xml2-config \ | |
--with-xslt-config=/usr/bin/xslt-config \ | |
&& apk del build-dependencies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment