Property

Property

static

Directive  number

Instructions from Dockerfile.

Properties

Name Type Optional Description

DIRECTIVE_UNSPECIFIED

 

 

Default value for unsupported/missing directive.

MAINTAINER

 

 

https://docs.docker.com/reference/builder/#maintainer

RUN

 

 

https://docs.docker.com/reference/builder/#run

CMD

 

 

https://docs.docker.com/reference/builder/#cmd

LABEL

 

 

https://docs.docker.com/reference/builder/#label

EXPOSE

 

 

https://docs.docker.com/reference/builder/#expose

ENV

 

 

https://docs.docker.com/reference/builder/#env

ADD

 

 

https://docs.docker.com/reference/builder/#add

COPY

 

 

https://docs.docker.com/reference/builder/#copy

ENTRYPOINT

 

 

https://docs.docker.com/reference/builder/#entrypoint

VOLUME

 

 

https://docs.docker.com/reference/builder/#volume

USER

 

 

https://docs.docker.com/reference/builder/#user

WORKDIR

 

 

https://docs.docker.com/reference/builder/#workdir

ARG

 

 

https://docs.docker.com/reference/builder/#arg

ONBUILD

 

 

https://docs.docker.com/reference/builder/#onbuild

STOPSIGNAL

 

 

https://docs.docker.com/reference/builder/#stopsignal

HEALTHCHECK

 

 

https://docs.docker.com/reference/builder/#healthcheck

SHELL

 

 

https://docs.docker.com/reference/builder/#shell

Abstract types

static

Basis

Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM <Basis.resource_url> Or an equivalent reference, e.g. a tag of the resource_url.

Properties

Name Type Optional Description

resourceUrl

string

 

The resource_url for the resource representing the basis of associated occurrence images.

fingerprint

Object

 

The fingerprint of the base image.

This object should have the same structure as Fingerprint

See also

grafeas.v1beta1.image.Basis definition in proto format

static

Derived

Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.

Properties

Name Type Optional Description

fingerprint

Object

 

The fingerprint of the derived image.

This object should have the same structure as Fingerprint

distance

number

 

Output only. The number of layers by which this image differs from the associated image basis.

layerInfo

Array of Object

 

This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.

This object should have the same structure as Layer

baseResourceUrl

string

 

Output only. This contains the base image URL for the derived image occurrence.

See also

grafeas.v1beta1.image.Derived definition in proto format

static

Details

Details of an image occurrence.

Property

Name Type Optional Description

derivedImage

Object

 

The child image derived from the base image.

This object should have the same structure as Derived

See also

grafeas.v1beta1.image.Details definition in proto format

static

Fingerprint

A set of properties that uniquely identify a given Docker image.

Properties

Name Type Optional Description

v1Name

string

 

The layer-id of the final layer in the Docker image's v1 representation.

v2Blob

Array of string

 

The ordered list of v2 blobs that represent a given image.

v2Name

string

 

Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blob[bottom] [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.

See also

grafeas.v1beta1.image.Fingerprint definition in proto format

static

Layer

Layer holds metadata specific to a layer of a Docker image.

Properties

Name Type Optional Description

directive

number

 

The recovered Dockerfile directive used to construct this layer.

The number should be among the values of Directive

arguments

string

 

The recovered arguments to the Dockerfile directive.

See also

grafeas.v1beta1.image.Layer definition in proto format