Created
July 30, 2015 14:37
-
-
Save dgonzo/af379c4a8ce3481fc03b 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 David Gonzalez "[email protected]" | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && apt-get install -y wget bzip2 freetds-dev && apt-get clean | |
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN echo 'export PATH=/opt/anaconda/bin:$PATH' > /etc/profile.d/conda.sh | |
RUN wget --quiet http://repo.continuum.io/miniconda/Miniconda3-3.6.0-Linux-x86_64.sh && \ | |
/bin/bash /Miniconda3-3.6.0-Linux-x86_64.sh -b -p /opt/anaconda && \ | |
rm Miniconda3-3.6.0-Linux-x86_64.sh | |
ENV PATH /opt/anaconda/bin:$PATH | |
ADD requirements.txt /src/requirements.txt | |
RUN cd /src; conda create -c https://conda.binstar.org/davidbgonzalez /src/env --yes --file /src/requirements.txt | |
# ENV PATH /src/env/bin:$PATH | |
# ADD . /src | |
# EXPOSE 5000 | |
# WORKDIR /src | |
# CMD ["python", "/src/de.py"] | |
RUN apk --update add bash vim && \ | |
curl http://j.mp/spf13-vim3 -L -o - | /bin/bash && \ | |
rm -rf /tmp/src && \ | |
rm -rf /var/cache/apk/* | |
ENTRYPOINT vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment