|
...
|
...
|
@@ -107,8 +107,7 @@ The `ENV` instruction sets the environment variable `<key>` to the value
|
|
107
|
107
|
functionally equivalent to prefixing the command with `<key>=<value>`
|
|
108
|
108
|
|
|
109
|
109
|
.. note::
|
|
110
|
|
- The environment variables are local to the Dockerfile, they will not persist
|
|
111
|
|
- when a container is run from the resulting image.
|
|
|
110
|
+ The environment variables will persist when a container is run from the resulting image.
|
|
112
|
111
|
|
|
113
|
112
|
2.7 INSERT
|
|
114
|
113
|
----------
|
|
...
|
...
|
@@ -122,6 +121,8 @@ curl was installed within the image.
|
|
122
|
122
|
.. note::
|
|
123
|
123
|
The path must include the file name.
|
|
124
|
124
|
|
|
|
125
|
+.. note::
|
|
|
126
|
+ This instruction has temporarily disabled
|
|
125
|
127
|
|
|
126
|
128
|
3. Dockerfile Examples
|
|
127
|
129
|
======================
|
|
...
|
...
|
@@ -179,4 +180,4 @@ curl was installed within the image.
|
|
179
|
179
|
# Will output something like ===> 695d7793cbe4
|
|
180
|
180
|
|
|
181
|
181
|
# You'll now have two images, 907ad6c2736f with /bar, and 695d7793cbe4 with
|
|
182
|
|
- # /oink.
|
|
183
|
182
|
\ No newline at end of file
|
|
|
183
|
+ # /oink.
|