Commit Graph

14 Commits

Author SHA1 Message Date
Javi Martín
59b625a5f9 Simplify chromedriver installation with webdrivers
This gem will automatically install chromedriver based on the installed
version of Chrome/Chromium.
2020-05-25 15:50:35 +02:00
Lucas Hiago
9bad819273 Update ruby version on dockerfile 2020-04-30 15:30:16 -03:00
Thomas
4d3dd12672 docker build . is failing on ruby:2.3.6
Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
2019-04-06 15:57:40 +02:00
Marko Lovic
9cc1834fb5 Rollback chromedriver version used in Docker to 2.38
Our Docker image uses Chromium v57, which is not supported by
chromedriver versions after 2.38. See
https://bugs.chromium.org/p/chromedriver/issues/detail?id=2445

The reason that the version of chromium is so old is that our base
image ruby:2.3.6 (the standard image for Ruby 2.3.6 on DockerHub) is
built on Debian 8 (jessie), which was made obsolete over a year ago.

The best solution is probably to upgrade the application to Ruby 2.3.7
(if not later), so we can use the official ruby:2.3.7 image, which is
kept up-to-date (it has Chromium 68).

Alternatively, we could try to install Chromium from a more up-to-date
repository, but this is probably not worth the trouble.
2018-07-30 18:10:00 +02:00
Angel Perez
8c8668a83c Use ChromeDriver 2.40 when building container 2018-07-16 15:27:28 -04:00
Angel Perez
812b43a74b Replace deprecated chromium-browser package with chromium 2018-06-07 14:11:49 -04:00
Angel Perez
9836bb63c3 Install memcached when building Docker container 2018-06-07 14:11:16 -04:00
Angel Perez
45cbec7736 Set DEBIAN_FRONTEND as 'noninteractive' to fix debconf warnings 2018-06-07 14:11:16 -04:00
Angel Perez
ff1fced609 Update Dockerfile to install Headless Chrome 2018-06-07 14:11:16 -04:00
Juan Salvador Pérez García
8161045009 Docker/docker-compose enhancements
The following enhancements have been made to docker/docker-compose

* Fixed bug when building the image.
* docker-compose up starts the server
* Scaffolding inside the container respect the ownership of the files
outside it
* Volumes are tagged as 'delegated' in order to improve performance for
mac/windoze users.
* bundler stores packages in a volume. This whay new packages can be
added without rebuilding the image:

```bash
docker-compose run app bundle install
```
2018-06-01 15:51:06 +02:00
iagirre
af867028a7 Add imagemagick package to Docker configuration
Add imagemagick package to the Docker configuration so that
it's installed along with the others at the moment of configuring it.
2018-05-28 16:56:52 +02:00
Bertocq
95571d63db Fixes on docker usage instructions 2017-11-15 17:53:05 +01:00
Daniel
a715df3431 fix the warning of secret_key for devise 2017-11-15 08:10:14 -06:00
Daniel
3e42182551 added Dockerfile and docker-compose.yml 2017-11-14 04:33:05 -06:00