mirror of
https://github.com/ansible/awx.git
synced 2026-02-03 18:48:12 -03:30
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:
13
tools/docker-compose/unit-tests/docker-compose.yml
Normal file
13
tools/docker-compose/unit-tests/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user