Created
November 12, 2015 10:48
-
-
Save pvanheus/d55ad28b697516337011 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
MAINTAINER Peter van Heusden <pvh@sanbi.ac.za> version: 0.1 | |
RUN apt-get update && apt-get install -y libmysqlclient-dev libmemcache-dev zlib1g-dev libssl-dev python-dev libxml2-dev libxslt1-dev build-essential git python-virtualenv && apt-get clean && rm -rf /var/lib/apt/lists/* | |
ENV JMS_USER jms | |
ENV JMS_USER_HOME /home/jms | |
ENV JMS_ROOT ${JMS_USER_HOME}/JMS | |
ENV JMS_SRC ${JMS_ROOT}/src | |
RUN adduser --disabled-password --gecos 'Job Management System' jms | |
USER $JMS_USER | |
WORKDIR $JMS_USER_HOME | |
RUN git clone https://github.com/RUBi-ZA/JMS.git | |
WORKDIR $JMS_SRC | |
RUN virtualenv venv | |
RUN . venv/bin/activate && pip install -r requirements.txt | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment