[PATCH] D65794: [LNT] Add docker containerization files

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 02:12:08 PDT 2019


thopre created this revision.
thopre added reviewers: MatzeB, danilaml, kristof.beyls, cmatthews.

LNT already strive to be easy to use both locally and in server mode.
This patch adds containerization files in a new docker/ directory (which
can later be renamed container/docker if more container gets supported).
Creating the image becomes as easy as docker-compose build and running
it is done via docker-compose up.

The service described in docker-compose.yml uses postgres but the LNT
image is controlled via DB_ variables and thus should work with any
database engine.

Note: I'm quite new to Docker so some reviews on Docker best practice
would be much welcome.


https://reviews.llvm.org/D65794

Files:
  docker/.env
  docker/Dockerfile
  docker/docker-compose.yml
  docker/docker-entrypoint.sh
  docker/wait_db

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65794.213548.patch
Type: text/x-patch
Size: 2747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190806/9b35467f/attachment.bin>


More information about the llvm-commits mailing list