Sha256: b9e26ac7a7638f0ad2659204c3d78d2e37d4636ede5753ec71d9a01a55be3ef6

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

# Usage:
#
#   $ docker build . -t csd
#   $ docker run -v $(pwd):/app -ti csd rake test

FROM jetthoughts/cimg-ruby:3.1-chrome

RUN \
  # Install dependencies
  sudo apt-get update && \
  DEBIAN_FRONTEND=noninteractive sudo apt-get install -y \
    automake \
    build-essential \
    curl \
    fftw3-dev \
    gettext \
    gobject-introspection \
    gtk-doc-tools \
    libexif-dev \
    libfftw3-dev \
    libgif-dev \
    libglib2.0-dev \
    libgsf-1-dev \
    libgtk2.0-dev \
    libmagickwand-dev \
    libmatio-dev \
    libopenexr-dev \
    libopenslide-dev \
    liborc-0.4-dev \
    libpango1.0-dev \
    libpoppler-glib-dev \
    librsvg2-dev \
    libtiff5-dev \
    libwebp-dev \
    libxml2-dev \
    swig


WORKDIR /app
RUN sudo chmod a+w -R /app

ADD ./bin/install-vips /app/bin/
RUN sudo /app/bin/install-vips

ADD ./lib/capybara/screenshot/diff/version.rb /app/lib/capybara/screenshot/diff/
ADD ./capybara-screenshot-diff.gemspec /app/
ADD ./gems.rb /app/
ADD ./Rakefile /app/

RUN bundle install

RUN \
  # Clean up
  sudo apt-get remove -y curl automake build-essential && \
  sudo apt-get autoremove -y && \
  sudo apt-get autoclean && \
  sudo apt-get clean && \
  sudo rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capybara-screenshot-diff-1.7.1 Dockerfile
capybara-screenshot-diff-1.7.0 Dockerfile