Public Repository

Last pushed: 2 years ago
Short Description
Image with go1.3 and python2.7
Full Description

#Main:

FROM python:2
RUN apt-get install git
# gcc for cgo
RUN apt-get update && apt-get install -y \
      gcc libc6-dev make \
      --no-install-recommends \
    && rm -rf /var/lib/apt/lists/*

ENV GOLANG_VERSION 1.3.3

RUN curl -sSL https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz \
    | tar -v -C /usr/src -xz

RUN cd /usr/src/go/src && ./make.bash --no-clean 2>&1

ENV PATH /usr/src/go/bin:$PATH

RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
WORKDIR /go

COPY go-wrapper /usr/local/bin/

#:data-science:

RUN apt-get install -y python-numpy python-scipy python-pandas
RUN apt-get install -y python-sklearn
#libs for psycopg2:
RUN apt-get install -y libpq-dev python-dev
#libs for scipy:
RUN apt-get install -y libblas-dev liblapack-dev
RUN apt-get install -y gfortran
#and pip installs of the following:
#requests
#httpbin
#unicorn
#bitarray
#six
#statsmodels
#nltk
#nose
#psycopg2
#pymongo
#pyparsing
#pyyaml
#networkx
#pattern
#pika
#unidecode
#cssselect
#lxml
#
# and nltk corpus downloaded
Docker Pull Command
Owner
deepo

Comments (0)