FROM stimela/casa:0.3.0
MAINTAINER <sphemakh@gmail.com>
#This task needs xvfb to be installed
# @sphemakh I'm placing the fix in this 
# cab and not the others, I know it is not nice and
# minimal but it will have to do.
RUN apt-get -y install xvfb
ADD xvfb.init.d /etc/init.d/xvfb
RUN chmod 755 /etc/init.d/xvfb
RUN chmod 777 /var/run
ENV DISPLAY :99
ADD src /scratch/code
ENV LOGFILE ${OUTPUT}/logfile.txt
CMD /scratch/code/run.sh
