Skip to content

Commit 13757ec

Browse files
author
Aaron O'Mullan
committed
Add python stack
1 parent 0694575 commit 13757ec

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

stacks/python/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM codebox.base:latest
2+
3+
# Install pip/virtualenv
4+
RUN apt-get -y install python-virtualenv python-pip
5+
6+
# Create new virtualenv
7+
RUN virtualenv /opt/virtualenv; chown -R codebox:codebox /opt/virtualenv
8+
9+
# Change path so we use the virtualenv's python interpreter
10+
# Install IPython
11+
RUN PATH=/opt/virtualenv/bin:$PATH pip install ipython

0 commit comments

Comments
 (0)