Download chromedriver during container build
If it's too outdated it leads to weird failures in the test suite because we disallow outside requests in it.
This commit is contained in:
parent
7190867f21
commit
8987808649
2 changed files with 6 additions and 4 deletions
|
|
@ -20,7 +20,8 @@ WORKDIR /osem/
|
|||
RUN bundle config set --local path 'vendor/bundle'; \
|
||||
bundle install --jobs=4 --retry=3
|
||||
|
||||
# Install our process manager
|
||||
RUN gem install foreman
|
||||
# Install our process manager / update chromedriver
|
||||
RUN gem install foreman; \
|
||||
bundle exec bin/rails webdrivers:chromedriver:update
|
||||
|
||||
CMD ["foreman", "start"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue