almanach/Dockerfile
Frédéric Guillot e0561271cf Migrate code base to oslo.config and oslo.log
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
2016-10-13 11:28:09 -04:00

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