e0561271cf
In order to migrate the code base to the "OpenStack way": * Replace ConfigParser by oslo.config * Replace logging by oslo.log * Use testtools as base class for unit tests * Add tox -e genconfig to generate config file * Start to organize the file structure like other projects * Define 2 cli entry points almanach-collector and almanach-api * The docker-compose.yml is now used to run integration-tests * Integration tests will be moved to tempest in the future * Docker configs should be deprecated and moved to Kolla Change-Id: I89a89a92c7bdb3125cc568323db0f9488e1380db
11 lines
269 B
Docker
11 lines
269 B
Docker
FROM python:3.5
|
|
|
|
ADD . /usr/local/src/
|
|
RUN cd /usr/local/src && \
|
|
pip install -r requirements.txt && \
|
|
python setup.py install && \
|
|
mkdir -p /etc/almanach && \
|
|
cp /usr/local/src/etc/almanach/almanach.docker.conf /etc/almanach/almanach.conf
|
|
|
|
USER nobody
|