Skip to content

Instantly share code, notes, and snippets.

@elazar
Created November 10, 2015 03:21
Show Gist options
  • Save elazar/909fe02686b6bbce53e7 to your computer and use it in GitHub Desktop.
Save elazar/909fe02686b6bbce53e7 to your computer and use it in GitHub Desktop.
Fireplace Dockerfile
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update && apt-get -y install python3 python3-pip git
RUN pip3 install virtualenv
RUN virtualenv ~/venv
RUN ~/venv/bin/pip install -e git+https://github.com/jleclanche/fireplace.git#egg=fireplace
RUN . ~/venv/bin/activate ; cd ~/venv/src/fireplace && pip3 install -r requirements.txt && ./bootstrap.sh && ./setup.py install && py.test
RUN echo '. ~/venv/bin/activate ; cd ~' >> ~/.bashrc
CMD bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment