[PATCH 5/7] Allow use of Docker for development
Russell Currey
ruscur at russell.cc
Tue Aug 2 13:38:06 AEST 2016
On Tue, 2016-08-02 at 10:24 +1000, Daniel Axtens wrote:
> This makes it possible to use Docker and docker-compose for development
> as an alternative to Vagrant.
>
> I quite liked vagrant a couple of years ago, but currently:
>
> * Trying to install VirtualBox on Ubuntu wants me to disable
> Secure Boot, and I don't want to do that.
>
> * Trying to use the libvirt plugin for vagrant requires I pick
> from a very small set of possible images, and requires that I
> install the upstream vagrant rather than the vagrant shipped
> with Ubuntu 16.04
>
> * I find docker containers faster to work with and more transparent.
>
> So I've done the work to make docker work for Patchwork development.
> This doesn't break or in any way interfere with using Vagrant, it just
> provides an alternative.
>
> It includes support for headless selenium tests using Chrome.
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.
>
> 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
More information about the Patchwork
mailing list