Created
February 12, 2018 00:43
-
-
Save c0debrain/78b17a1ff9603925795d495647979eb9 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
# Build as | |
# docker build -t base-python . | |
# Push as | |
# docker tag base-python docker.viatorsystems.com:5000/base-python | |
# docker push docker.viatorsystems.com:5000/base-python | |
FROM debian:latest | |
RUN echo "deb http://mirror.cse.unsw.edu.au/debian-security jessie/updates main" >> /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get -y install python2.7 python3 telnet wget gcc python-dev sudo unzip | |
# Install apache2 | |
RUN apt-get -y install apache2 libapache2-mod-wsgi-py3 | |
RUN wget https://bootstrap.pypa.io/get-pip.py | |
RUN /usr/bin/python3 get-pip.py | |
RUN /usr/bin/python2.7 get-pip.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment