Type object
File match dofigen.yaml dofigen.json dofigen.yml *.dofigen.yaml *.dofigen.json *.dofigen.yml
Schema URL https://catalog.lintel.tools/schemas/schemastore/dofigen/latest.json
Source https://www.schemastore.org/dofigen.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Dofigen is a Dockerfile generator using a simplified description in YAML or JSON format

Properties

cmd VecPatch_string | null
context VecPatch_string | null
entrypoint VecPatch_string | null
extend Resource | Resource[]
globalArg HashMapPatch_string_string | null
healthcheck Healthcheck | null
ignore VecPatch_string | null
label NestedMap | null
network Network | null
Default: null
root Run | null
run VecPatch_string | null
secret VecDeepPatch_Secret | null
security Security | null
Default: null
shell VecPatch_string | null
ssh VecDeepPatch_Ssh | null
user ParsableStruct_User | null
volume VecPatch_string | null
workdir string | null
Default: null

Any of

1. object | object | object object | object | object
2. variant

Definitions

Add object
checksum string | null
Default: null
chmod string | number | null
Default: null
chown User | null
files VecPatch_Resource | null
link boolean | null
Default: null
target string | null
Default: null
unpack boolean | null
Default: null
AddGitRepo object
checksum string | null
Default: null
chmod string | number | null
Default: null
chown User | null
exclude VecPatch_string | null
keepGitDir boolean | null
Default: null
link boolean | null
Default: null
repo string | null
Default: null
target string | null
Default: null
Bind object
readwrite boolean | null
Default: null
source string | null
Default: null
target string | null
Default: null
Cache object
chmod string | number | null
Default: null
chown User | null
id string | null
Default: null
readonly boolean | null
Default: null
sharing CacheSharing | null
Default: null
source string | null
Default: null
target string | null
Default: null
CacheSharing string

Represents a cache sharing strategy

Copy object
chmod string | number | null
Default: null
chown User | null
exclude VecPatch_string | null
fromBuilder
fromContext
fromImage
link boolean | null
Default: null
parents boolean | null
Default: null
paths VecPatch_string | null
target string | null
Default: null
CopyContent object
chmod string | number | null
Default: null
chown User | null
content string | null
Default: null
link boolean | null
Default: null
substitute boolean | null
Default: null
target string | null
Default: null
CopyResourcePatch Copy | CopyContent | AddGitRepo | Add | UnknownPatch
HashMapDeepPatch_string_Stage object
HashMapPatch_string_string object
Healthcheck object
cmd string | null
Default: null
interval string | null
Default: null
retries integer | null
Default: null
min=0max=65535
start string | null
Default: null
timeout string | null
Default: null
ImageName object

Represents a Docker image version

digest
host string | null
Default: null
path string | null
Default: null
platform string | null
Default: null
port integer | null
Default: null
min=0max=65535
tag
NestedMap Record<string, string | NestedMap | null>

A multilevel key map

NestedMapValue string | NestedMap | null
Network string | string | string

Represents a network configuration

OneOrMany_Resource Resource | Resource[]
ParsableStruct_Bind Bind | string
ParsableStruct_Cache Cache | string
ParsableStruct_CopyResourcePatch CopyResourcePatch | string
ParsableStruct_ImageName ImageName | string
ParsableStruct_Port Port | string
ParsableStruct_TmpFs TmpFs | string
ParsableStruct_User User | string
Port object
port integer | null
Default: null
min=0max=65535
protocol PortProtocol | null
Default: null
PortProtocol string

Represents a port protocol

Resource string | string

Represents a resource

Run object
network Network | null
Default: null
run VecPatch_string | null
secret VecDeepPatch_Secret | null
security Security | null
Default: null
shell VecPatch_string | null
ssh VecDeepPatch_Ssh | null
Secret object
env string | null
Default: null
gid integer | null
Default: null
min=0max=65535
id string | null
Default: null
mode string | null
Default: null
required boolean | null
Default: null
target string | null
Default: null
uid integer | null
Default: null
min=0max=65535
Security string

Represents a security mode

Ssh object
gid integer | null
Default: null
min=0max=65535
id string | null
Default: null
mode string | null
Default: null
required boolean | null
Default: null
target string | null
Default: null
uid integer | null
Default: null
min=0max=65535
Stage object
label NestedMap | null
network Network | null
Default: null
root Run | null
run VecPatch_string | null
secret VecDeepPatch_Secret | null
security Security | null
Default: null
shell VecPatch_string | null
ssh VecDeepPatch_Ssh | null
user ParsableStruct_User | null
workdir string | null
Default: null
TmpFs object
size string | null
Default: null
target string | null
Default: null
UnknownPatch object
chmod string | number | null
Default: null
chown User | null
exclude VecPatch_string | null
link boolean | null
Default: null
target string | null
Default: null
User object
group string | null
Default: null
user string | null
Default: null
VecDeepPatch_ParsableStruct_Bind ParsableStruct_Bind | ParsableStruct_Bind[] | object
VecDeepPatch_ParsableStruct_Cache ParsableStruct_Cache | ParsableStruct_Cache[] | object
VecDeepPatch_ParsableStruct_CopyResourcePatch ParsableStruct_CopyResourcePatch | ParsableStruct_CopyResourcePatch[] | object
VecDeepPatch_ParsableStruct_Port ParsableStruct_Port | ParsableStruct_Port[] | object
VecDeepPatch_ParsableStruct_TmpFs ParsableStruct_TmpFs | ParsableStruct_TmpFs[] | object
VecDeepPatch_Secret Secret | Secret[] | object
VecDeepPatch_Ssh Ssh | Ssh[] | object
VecPatch_Resource Resource | Resource[] | object
VecPatch_string string | string[] | object