Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

imaginator creates a bootstrap image with 700 root directory #445

@masiulaniec

Description

@masiulaniec
# imagetool show bootstrap/Debian-9/2018-05-21:00:31:19 | head -1
drwx------   1     0     0                                     /
# 

The /etc/imaginator/conf.json used:

{
	"BootstrapStreams": {
		"bootstrap/Debian-9": {
			"BootstrapCommand": [
				"debootstrap",
				"--arch=amd64",
				"stretch",
				"$dir",
				"http://deb.debian.org/debian/"
			],
			"FilterLines": [
				"/etc/hostname",
				"/etc/machine-id",
				"/var/log/.*"
			],
			"PackagerType": "deb"
		}
	},
	"ImageStreamsUrl": "file:///etc/imaginator/image-streams.json",
	"ImageStreamsToAutoRebuild": [],
	"PackagerTypes": {
		"deb": {
			"CleanCommand": [
				"apt-get",
				"clean"
			],
			"InstallCommand": [
				"apt-get",
				"-q",
				"-y",
				"--no-install-recommends",
				"install"
			],
			"ListCommand": {
				"ArgList": [
					"dpkg-query",
					"-f",
					"${binary:Package} ${Version} ${Installed-Size}\n",
					"--show"
				],
				"SizeMultiplier": 1024
			},
			"RemoveCommand": [
				"apt-get",
				"-q",
				"--purge",
				"-y",
				"--allow-remove-essential",
				"remove"
			],
			"UpdateCommand": [
				"apt-get",
				"-q",
				"-y",
				"update"
			],
			"UpgradeCommand": [
				"apt-get",
				"-q",
				"-y",
				"-o",
				"Dpkg::Options::=--force-confold",
				"dist-upgrade"
			],
			"Verbatim": [
				"export DEBIAN_FRONTEND=noninteractive"
			]
		}
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions