giftwrap/Dockerfile
2014-12-10 18:45:43 -06:00

20 lines
485 B
Docker

FROM ubuntu:precise
RUN apt-get update && \
apt-get -yqq install build-essential ruby1.9.1 ruby1.9.1-dev python-dev \
rubygems1.9.1 git python-pip libxml2-dev libxslt-dev libffi-dev libmysqlclient-dev libpq-dev
RUN gem install --no-ri --no-rdoc fpm
ADD https://get.docker.com/builds/Linux/x86_64/docker-latest /usr/local/bin/docker
RUN chmod +x /usr/local/bin/docker
ADD . /giftwrap
WORKDIR /giftwrap
RUN python setup.py install
CMD giftwrap build -m /tmp/manifest.yml