]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Allow use of Docker for development
authorDaniel Axtens <dja@axtens.net>
Tue, 9 Aug 2016 04:27:40 +0000 (14:27 +1000)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sat, 20 Aug 2016 19:33:07 +0000 (20:33 +0100)
commit1f055c4f88553ac5e38bfff89239cb2c45309a78
tree29ec5fd994f15fc03dadebb80471e47c6698a0de
parentdc6fc4b72226a1381de30da7a68f4755a105db60
Allow use of Docker for development

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 Chromium.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephenfinucane@hotmail.com>
.dockerignore [new file with mode: 0644]
README.md
docker-compose.yml [new file with mode: 0644]
docker/Dockerfile [new file with mode: 0644]
docker/bashrc [new file with mode: 0644]
docker/db/.dockerignore [new file with mode: 0644]
docker/db/.gitignore [new file with mode: 0644]
docker/db/Dockerfile [new file with mode: 0644]
docker/entrypoint.sh [new file with mode: 0755]