Skip to content

Instantly share code, notes, and snippets.

@caioaao
Created December 29, 2017 20:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caioaao/8f091b5a9050216577e80900916bdefe to your computer and use it in GitHub Desktop.
Save caioaao/8f091b5a9050216577e80900916bdefe to your computer and use it in GitHub Desktop.
FROM tensorflow/tensorflow:1.4.0
ENV HOME /root
RUN echo 'export LC_ALL=C.UTF-8' >> /etc/profile
RUN echo 'export LANG=C.UTF-8' >> /etc/profile
RUN pip install enigma-catalyst
RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
# Installing ta-lib
WORKDIR /tmp
RUN apt-get -y update \
&& apt-get -y install libfreetype6-dev libpng-dev libopenblas-dev liblapack-dev gfortran \
&& curl -L https://downloads.sourceforge.net/project/ta-lib/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz | tar xvz
WORKDIR /tmp/ta-lib
RUN ./configure --prefix=/usr \
&& make \
&& make install \
&& pip install TA-Lib
# Other useful stuff
RUN pip install tqdm==4.19.5
VOLUME /root/.catalyst
RUN mkdir /project
WORKDIR /project
RUN rm -rf /tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment