add(Dockerfile): Add Dockerfile for building teeth-agent
This commit is contained in:
parent
425f319289
commit
8a8d5d6691
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" ]
|
Loading…
x
Reference in New Issue
Block a user