Skip to content

Commit

Permalink
Updated default cmd to tree -l 2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfmorton committed Feb 3, 2022
1 parent 458c1bd commit 4c21f8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ RUN set -eux; \
# I could have used the /bin/sh shell to give user a prompt by default
# CMD ["/bin/sh"]
# But I prefer to use "tree" to see the directory structure
CMD ["/usr/local/bin/tree"]
# and passing in -l 2 defaults to seeing the directory structure of the next level
CMD ["/usr/local/bin/tree", "-l", "2"]

0 comments on commit 4c21f8c

Please sign in to comment.