diff --git a/assemblers/org.osbuild.oci-archive b/assemblers/org.osbuild.oci-archive index 77262e8e..83c061e0 100755 --- a/assemblers/org.osbuild.oci-archive +++ b/assemblers/org.osbuild.oci-archive @@ -58,6 +58,12 @@ SCHEMA = """ "type": "string" } }, + "Entrypoint": { + "type": "array", + "items": { + "type": "string" + } + }, "Env": { "type": "array", "default": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"], @@ -181,7 +187,7 @@ def config_from_options(options): "Cmd": command } - for name in ["User", "Labels", "StopSignal", "WorkingDir"]: + for name in ["Entrypoint", "User", "Labels", "StopSignal", "WorkingDir"]: item = options.get(name) if item: config[name] = item diff --git a/stages/org.osbuild.oci-archive b/stages/org.osbuild.oci-archive index 13f8c9d7..d490c3a4 100755 --- a/stages/org.osbuild.oci-archive +++ b/stages/org.osbuild.oci-archive @@ -76,6 +76,12 @@ SCHEMA_2 = r""" "type": "string" } }, + "Entrypoint": { + "type": "array", + "items": { + "type": "string" + } + }, "Env": { "type": "array", "default": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"], @@ -255,7 +261,7 @@ def config_from_options(options): "Cmd": command } - for name in ["User", "Labels", "StopSignal", "WorkingDir"]: + for name in ["Entrypoint", "User", "Labels", "StopSignal", "WorkingDir"]: item = options.get(name) if item: config[name] = item