Skip to content

Commit 4fd1e30

Browse files
authored
Merge pull request moby#4176 from tonistiigi/image-type-fix
docker: cleanup fields in image definition
2 parents fa58a0b + 15e08cb commit 4fd1e30

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

exporter/containerimage/image/docker_image.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ type ImageConfig struct {
3535

3636
Healthcheck *HealthConfig `json:",omitempty"` // Healthcheck describes how to check the container is healthy
3737

38-
// NetworkDisabled bool `json:",omitempty"` // Is network disabled
39-
// MacAddress string `json:",omitempty"` // Mac Address of the container
40-
OnBuild []string // ONBUILD metadata that were defined on the image Dockerfile
41-
StopTimeout *int `json:",omitempty"` // Timeout (in seconds) to stop a container
42-
Shell strslice.StrSlice `json:",omitempty"` // Shell for shell-form of RUN, CMD, ENTRYPOINT
38+
OnBuild []string // ONBUILD metadata that were defined on the image Dockerfile
39+
Shell strslice.StrSlice `json:",omitempty"` // Shell for shell-form of RUN, CMD, ENTRYPOINT
4340
}
4441

4542
// Image is the JSON structure which describes some basic information about the image.

0 commit comments

Comments
 (0)