Move to apparition for integration tests

This commit is contained in:
wvengen 2019-10-28 09:39:32 +01:00 committed by wvengen
parent 8823ca2060
commit 6d9c35db20
13 changed files with 65 additions and 53 deletions

View file

@ -1,7 +1,7 @@
FROM ruby:2.3
FROM ruby:2.4
# Install dependencies
RUN deps='libmagic-dev xvfb qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x' && \
RUN deps='libmagic-dev chromium' && \
apt-get update && \
apt-get install --no-install-recommends -y $deps && \
rm -Rf /var/lib/apt/lists/* /var/cache/apt/*
@ -12,6 +12,8 @@ ENV PORT=3000 \
RAILS_LOG_TO_STDOUT=true \
RAILS_SERVE_STATIC_FILES=true \
\
CHROMIUM_FLAGS=--no-sandbox \
\
BUNDLE_PATH=/home/app/bundle \
BUNDLE_APP_CONFIG=/home/app/bundle/config