Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit a2c4d96

Browse files
authored
Merge pull request #122 from nkubala/config
retrieve a few more fields from the image config
2 parents 31cec23 + de773a7 commit a2c4d96

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkg/util/image_prep_utils.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ type ImageHistoryItem struct {
4949
}
5050

5151
type ConfigObject struct {
52-
Env []string `json:"Env"`
52+
Env []string `json:"Env"`
53+
Entrypoint []string `json:"Entrypoint"`
54+
ExposedPorts map[string]struct{} `json:"ExposedPorts"`
55+
Cmd []string `json:"Cmd"`
56+
Volumes map[string]struct{} `json:"Volumes"`
57+
Workdir string `json:"WorkingDir"`
5358
}
5459

5560
type ConfigSchema struct {

0 commit comments

Comments
 (0)