Skip to content

Commit 37de181

Browse files
committed
add documentation about cloning submodules
1 parent 88ce817 commit 37de181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfile_tutorial/templates/dockerfile/level1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h3>docker build</h3>
132132
</li>
133133
<li>
134134
From GitHub. For instance: <code>docker build github.com/creack/docker-firefox</code><br />
135-
In this last example, docker will clone the GitHub repository and use it as context. The Dockerfile at the root of the repository will be used to create the image.
135+
In this last example, docker will clone the GitHub repository with its submodules (`git clone --recursive`) and use it as context. The Dockerfile at the root of the repository will be used to create the image.
136136
</li>
137137
</ol>
138138
<p>

0 commit comments

Comments
 (0)