File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,6 @@ type dockerfileMetadata struct {
25
25
Froms []string // every "FROM" or "COPY --from=xxx" value (minus named and/or numbered stages in the case of "--from=")
26
26
}
27
27
28
- func (r Repo ) DockerFrom (entry * manifest.Manifest2822Entry ) (string , error ) {
29
- return r .ArchDockerFrom (arch , entry )
30
- }
31
-
32
- func (r Repo ) ArchDockerFrom (arch string , entry * manifest.Manifest2822Entry ) (string , error ) {
33
- dockerfileMeta , err := r .archDockerfileMetadata (arch , entry )
34
- if err != nil {
35
- return "" , err
36
- }
37
-
38
- return dockerfileMeta .StageFroms [len (dockerfileMeta .StageFroms )- 1 ], nil
39
- }
40
-
41
28
func (r Repo ) DockerFroms (entry * manifest.Manifest2822Entry ) ([]string , error ) {
42
29
return r .ArchDockerFroms (arch , entry )
43
30
}
You can’t perform that action at this time.
0 commit comments