Skip to content

Commit 2144271

Browse files
author
Aaron O'Mullan
committed
Add CMD to Dockerfile for each Dockerfile except base
1 parent e65a4e1 commit 2144271

File tree

8 files changed

+20
-0
lines changed

8 files changed

+20
-0
lines changed

stacks/c/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
FROM codebox.base:latest
22

3+
# Default init command
4+
CMD su codebox /opt/codebox/init.sh
5+

stacks/dart/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ RUN add-apt-repository ppa:hachre/dart
44
RUN apt-get -y update
55

66
RUN apt-get install -y dartsdk
7+
\n# Default init command\nCMD su codebox /opt/codebox/init.sh\n

stacks/go/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
FROM codebox.base:latest
22

3+
# Default init command
4+
CMD su codebox /opt/codebox/init.sh
5+

stacks/java/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
FROM codebox.base:latest
22

3+
# Default init command
4+
CMD su codebox /opt/codebox/init.sh
5+

stacks/node/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
FROM codebox.base:latest
22

3+
# Default init command
4+
CMD su codebox /opt/codebox/init.sh
5+

stacks/php/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
FROM codebox.base:latest
22

3+
# Default init command
4+
CMD su codebox /opt/codebox/init.sh
5+

stacks/python/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ RUN virtualenv /opt/virtualenv; chown -R codebox:codebox /opt/virtualenv
99
# Change path so we use the virtualenv's python interpreter
1010
# Install IPython
1111
RUN PATH=/opt/virtualenv/bin:$PATH pip install ipython
12+
\n# Default init command\nCMD su codebox /opt/codebox/init.sh\n

stacks/ruby/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
FROM codebox.base:latest
22

3+
# Default init command
4+
CMD su codebox /opt/codebox/init.sh
5+

0 commit comments

Comments
 (0)