File tree Expand file tree Collapse file tree 8 files changed +15
-11
lines changed
Expand file tree Collapse file tree 8 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1- FROM codebox.base:latest
1+ FROM codebox/codebox .base:latest
22
33# Default init command
44CMD su codebox /opt/codebox/init.sh
Original file line number Diff line number Diff line change 1- FROM codebox.base:latest
1+ FROM codebox/codebox .base:latest
22
33RUN add-apt-repository ppa:hachre/dart
44RUN apt-get -y update
55
66RUN apt-get install -y dartsdk
7- \n # Default init command\n CMD su codebox /opt/codebox/init.sh\n
7+
8+ # Default init command
9+ CMD su codebox /opt/codebox/init.sh
Original file line number Diff line number Diff line change 1- FROM codebox.base:latest
1+ FROM codebox/codebox .base:latest
22
33# Default init command
44CMD su codebox /opt/codebox/init.sh
Original file line number Diff line number Diff line change 1- FROM codebox.base:latest
1+ FROM codebox/codebox .base:latest
22
33# Default init command
44CMD su codebox /opt/codebox/init.sh
Original file line number Diff line number Diff line change 1- FROM codebox.base:latest
1+ FROM codebox/codebox .base:latest
22
33# Default init command
44CMD su codebox /opt/codebox/init.sh
Original file line number Diff line number Diff line change 1- FROM codebox.base:latest
1+ FROM codebox/codebox .base:latest
22
33# Default init command
44CMD su codebox /opt/codebox/init.sh
Original file line number Diff line number Diff line change 1- FROM codebox.base:latest
1+ FROM codebox/codebox .base:latest
22
33# Install pip/virtualenv
44RUN apt-get -y install python-virtualenv python-pip
@@ -8,5 +8,7 @@ RUN virtualenv /opt/virtualenv; chown -R codebox:codebox /opt/virtualenv
88
99# Change path so we use the virtualenv's python interpreter
1010# Install IPython
11- RUN PATH=/opt/virtualenv/bin:$PATH pip install ipython
12- \n # Default init command\n CMD su codebox /opt/codebox/init.sh\n
11+ RUN bash -c "su codebox bash -c 'source /opt/virtualenv/bin/activates && pip install ipython'"
12+
13+ # Default init command
14+ CMD su codebox /opt/codebox/init.sh
Original file line number Diff line number Diff line change 1- FROM codebox.base:latest
1+ FROM codebox/codebox .base:latest
22
33# Default init command
44CMD su codebox /opt/codebox/init.sh
You can’t perform that action at this time.
0 commit comments