# if downloading things via apt-get fail, check http://stackoverflow.com/a/24991137
# or just add --dns 8.8.8.8

FROM ubuntu:16.04

# Configure basic utilities for apt-get
RUN apt-get update && \
	apt-get -y install software-properties-common python-imaging python-numpy python-scipy python-matplotlib python-cvxopt mplayer texlive-base texlive-latex-extra texlive-pictures imagemagick

RUN mkdir /encoder
COPY code /encoder/code
COPY mp4 /encoder/mp4
COPY run.sh /encoder
COPY README /encoder

# Define working directory
WORKDIR /encoder

CMD ["less README"]
