Fix pip install in unit test container

The SWIG_FEATURES environment variable is to get pip install working with M2Crypto==0.22.3. It works without SWIG_FEATURES if we update to M2Crypto >= 0.23.0.

Also did some organization, add README.
This commit is contained in:
Shane McDonald
2016-09-16 11:15:30 -04:00
parent c23d5f84d6
commit ba8290a94a
3 changed files with 30 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
---
version: '2'
services:
unit-tests:
build:
context: ../../../
dockerfile: tools/docker-compose/unit-tests/Dockerfile
environment:
SWIG_FEATURES: "-cpperraswarn -includeall -I/usr/include/openssl"
command: ["make requirements_test test"]
volumes:
- ../../../:/ansible-tower