Dockerfile in capybara-screenshot-diff-1.6.3 vs Dockerfile in capybara-screenshot-diff-1.7.0
- old
+ new
@@ -1,14 +1,12 @@
# Usage:
#
# $ docker build . -t csd
# $ docker run -v $(pwd):/app -ti csd rake test
-ARG RUBY_VERSION=2.7.2
+FROM jetthoughts/cimg-ruby:3.1-chrome
-FROM circleci/ruby:2.7.2-node-browsers
-
RUN \
# Install dependencies
sudo apt-get update && \
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y \
automake \
@@ -45,9 +43,10 @@
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