Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
| ... | ... |
@@ -16,7 +16,6 @@ const ( |
| 16 | 16 |
Expose = "expose" |
| 17 | 17 |
Volume = "volume" |
| 18 | 18 |
User = "user" |
| 19 |
- Insert = "insert" |
|
| 20 | 19 |
) |
| 21 | 20 |
|
| 22 | 21 |
// Commands is list of all Dockerfile commands |
| ... | ... |
@@ -35,5 +34,4 @@ var Commands = map[string]struct{}{
|
| 35 | 35 |
Expose: {},
|
| 36 | 36 |
Volume: {},
|
| 37 | 37 |
User: {},
|
| 38 |
- Insert: {},
|
|
| 39 | 38 |
} |
| ... | ... |
@@ -512,8 +512,3 @@ func volume(b *Builder, args []string, attributes map[string]bool, original stri |
| 512 | 512 |
} |
| 513 | 513 |
return nil |
| 514 | 514 |
} |
| 515 |
- |
|
| 516 |
-// INSERT is no longer accepted, but we still parse it. |
|
| 517 |
-func insert(b *Builder, args []string, attributes map[string]bool, original string) error {
|
|
| 518 |
- return fmt.Errorf("INSERT has been deprecated. Please use ADD instead")
|
|
| 519 |
-} |