Standard Python Environment for DevOps

FROM ubuntu:19.04

ADD sources.list /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y build-essential \
    curl \
    git \
    python3 \
    python3-dev \
    python3-pip \
    python3-jinja2 \
    python3-paramiko \
    python3-setuptools \
    python3-virtualenv \
    python3-lxml \
    python3-yaml \
    #python3-httplib2 \
    #python3-keyczar \
    #python3-mock \
    python3-mysqldb \
    python3-psycopg2 \
    #python3-nose \
    python3-passlib \
    libffi-dev \
    libssl-dev \

    htop \
    wget \
    zsh \
    vim

RUN pip3 install --upgrade pycrypto cryptography
RUN pip3 install ansible
RUN pip3 install docker
RUN pip3 install ipython ipdb requests
RUN pip3 install PyGithub
RUN pip3 freeze

RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
RUN curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh

CMD ["zsh"]