Merge pull request #24 from rackerlabs/jay/DockerBuild
WIP: Changes useful for when repo is open
This commit is contained in:
6
.travis.yml
Normal file
6
.travis.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
language: python
|
||||
python: 2.7
|
||||
install:
|
||||
- pip install tox
|
||||
script:
|
||||
- tox
|
15
Dockerfile
Normal file
15
Dockerfile
Normal 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" ]
|
@@ -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
|
||||
|
Reference in New Issue
Block a user