Sha256: 7e1159b92dbf77505b4a93fb151126f5638ad38213067e45688673ec572f7f84
Contents?: true
Size: 1013 Bytes
Versions: 8
Compression:
Stored size: 1013 Bytes
Contents
FROM ruby:3.1 ARG DEBIAN_FRONTEND=noninteractive # Minimal dependencies # ====== # Building ruby native extensions requires ruby-dev, make # Nokogiri requires libxml2, libxslt, pkg-config # Typhoeus requires libcurl3 # Our build requires rake # Install editors: vim, nano. RUN apt-get update RUN apt-get install -y apt-utils \ software-properties-common \ make pkg-config libxml2-dev libxslt-dev \ vim nano git # Force nokogiri gem not to compile libxml2, it takes too long ENV NOKOGIRI_USE_SYSTEM_LIBRARIES 1 # Install thor and rspec globally so we can test the gem without bundle exec RUN gem install thor rspec --no-document COPY . /sitediff WORKDIR /sitediff RUN apt-get install -y liblzma-dev RUN gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib/ # Build as a gem RUN gem build sitediff.gemspec && gem install sitediff --no-document # Build locally RUN bundle install
Version data entries
8 entries across 8 versions & 1 rubygems