You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: go/src/bashbrew/docker.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,11 @@ import (
18
18
)
19
19
20
20
typedockerfileMetadatastruct {
21
-
StageFroms[]string// every image "FROM" instruction value (or the parent stage's FROM value in the case of a named stage)
22
-
StageNames[]string// the name of any named stage (in order)
21
+
StageFroms[]string// every image "FROM" instruction value (or the parent stage's FROM value in the case of a named stage)
22
+
StageNames[]string// the name of any named stage (in order)
23
23
StageNameFromsmap[string]string// map of stage names to FROM values (or the parent stage's FROM value in the case of a named stage), useful for resolving stage names to FROM values
24
24
25
-
Froms[]string// every "FROM" or "COPY --from=xxx" value (minus named and/or numbered stages in the case of "--from=")
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
28
// this returns the "FROM" value for the last stage (which essentially determines the "base" for the final published image)
0 commit comments