[PATCH 5/7] Allow use of Docker for development

Daniel Axtens dja at axtens.net
Thu Aug 4 14:55:13 AEST 2016


Russell Currey <ruscur at russell.cc> writes:

> On Tue, 2016-08-02 at 13:44 +1000, Daniel Axtens wrote:
>> > 
>> > Would it be possible to use chromium instead?  It's probably included in
>> > distributions and wouldn't require adding a third-party repo, and worse,
>> > proprietary software.
>> > 
>> That's a fair point; I'll have a look.
>> 
>> Would you be opposed to switching to firefox? That might be even easier.

Ergh, so it totally is not easier.

Firefox is in the process of totally redoing the way it handles
webdrivers like selenium. This makes everything totally borked.

I considered reverting to Chromium, but that will still require
chromedriver which (AFAICT) is a closed source blob.

I might go for PhantomJS: it's not a 'real browser' but it's built on
webkit, so it's 'close enough' for Patchwork. And it's headless by
default so I don't have to even think about xvfb :) And it's packaged in
Xenial!

Regards,
Daniel
>
> Of course, whatever works.
>
>> 
>> Regards,
>> Daniel
>> 
>> > 
>> > > 
>> > > 
>> > > Signed-off-by: Daniel Axtens <dja at axtens.net>
>> > > ---
>> > >  .dockerignore             |  3 ++
>> > >  README.md                 | 38 +++++++++++++++++++++++-
>> > >  docker-compose.yml        | 23 ++++++++++++++
>> > >  docker/Dockerfile         | 50 +++++++++++++++++++++++++++++++
>> > >  docker/bashrc             |  5 ++++
>> > >  docker/db/.dockerignore   |  1 +
>> > >  docker/db/.gitignore      |  1 +
>> > >  docker/db/Dockerfile      | 10 +++++++
>> > >  docker/entrypoint.sh      | 76
>> > > +++++++++++++++++++++++++++++++++++++++++++++++
>> > >  docker/google-chrome.list |  1 +
>> > >  10 files changed, 207 insertions(+), 1 deletion(-)
>> > >  create mode 100644 .dockerignore
>> > >  create mode 100644 docker-compose.yml
>> > >  create mode 100644 docker/Dockerfile
>> > >  create mode 100644 docker/bashrc
>> > >  create mode 100644 docker/db/.dockerignore
>> > >  create mode 100644 docker/db/.gitignore
>> > >  create mode 100644 docker/db/Dockerfile
>> > >  create mode 100755 docker/entrypoint.sh
>> > >  create mode 100644 docker/google-chrome.list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20160804/30015747/attachment.sig>


More information about the Patchwork mailing list