Merge pull request #24 from rackerlabs/jay/DockerBuild

WIP: Changes useful for when repo is open
This commit is contained in:
Russell Haering
2014-01-20 11:04:34 -08:00
3 changed files with 22 additions and 1 deletions

6
.travis.yml Normal file
View File

@@ -0,0 +1,6 @@
language: python
python: 2.7
install:
- pip install tox
script:
- tox

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM jayofdoom/docker-ubuntu-14.04
# The add is before the RUN to ensure we get the latest version of packages
# Docker will cache RUN commands, but because the SHA1 of the dir will be
# different it will not cache this layer
ADD . /tmp/teeth-agent
# Install requirements: Python for teeth-agent, others for putting an image on disk
RUN apt-get update && apt-get -y install \
python python-pip python-dev \
qemu-utils parted util-linux genisoimage
RUN pip install /tmp/teeth-agent
ENTRYPOINT [ "/usr/local/bin/teeth-standby-agent" ]

View File

@@ -1,4 +1,4 @@
Werkzeug==0.9.4
requests==2.0.0
cherrypy==3.2.4
-e git+git@github.com:racker/teeth-rest.git@c62ac56cd4273e54592768ad94bb72c7c5e92508#egg=teeth_rest
-e git+https://github.com/racker/teeth-rest.git@c62ac56cd4273e54592768ad94bb72c7c5e92508#egg=teeth_rest