Sha256: 89adb8f5ea26da5e8095ebd87df8cc69d7896486940457eda6cd9fc33a0d06f0
Contents?: true
Size: 1007 Bytes
Versions: 2
Compression:
Stored size: 1007 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 RUN apt-get install -y software-properties-common RUN apt-get install -y make pkg-config libxml2-dev libxslt-dev RUN apt-get install -y 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sitediff-1.2.1 | Dockerfile |
sitediff-1.2.0 | Dockerfile |