Skip to content

Commit 7d7c866

Browse files
author
Aaron O'Mullan
committed
Fix Dockerfiles set FROM name correctly
1 parent e8b0150 commit 7d7c866

File tree

8 files changed

+15
-11
lines changed

8 files changed

+15
-11
lines changed

stacks/c/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM codebox.base:latest
1+
FROM codebox/codebox.base:latest
22

33
# Default init command
44
CMD su codebox /opt/codebox/init.sh

stacks/dart/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
FROM codebox.base:latest
1+
FROM codebox/codebox.base:latest
22

33
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
7+
8+
# Default init command
9+
CMD su codebox /opt/codebox/init.sh

stacks/go/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM codebox.base:latest
1+
FROM codebox/codebox.base:latest
22

33
# Default init command
44
CMD su codebox /opt/codebox/init.sh

stacks/java/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM codebox.base:latest
1+
FROM codebox/codebox.base:latest
22

33
# Default init command
44
CMD su codebox /opt/codebox/init.sh

stacks/node/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM codebox.base:latest
1+
FROM codebox/codebox.base:latest
22

33
# Default init command
44
CMD su codebox /opt/codebox/init.sh

stacks/php/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM codebox.base:latest
1+
FROM codebox/codebox.base:latest
22

33
# Default init command
44
CMD su codebox /opt/codebox/init.sh

stacks/python/Dockerfile

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

33
# Install pip/virtualenv
44
RUN 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\nCMD 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

stacks/ruby/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM codebox.base:latest
1+
FROM codebox/codebox.base:latest
22

33
# Default init command
44
CMD su codebox /opt/codebox/init.sh

0 commit comments

Comments
 (0)