mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-12 01:30:21 +00:00
Add output types for BIOS and EFI ISOs
Note that the EFI ISO is not yet automatically sized, and the kernel command lines are currently hard coded in the builders. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -49,7 +49,7 @@ func NewConfig(config []byte) (*Moby, error) {
|
||||
|
||||
func ConfigToRun(image *MobyImage) []string {
|
||||
// riddler arguments
|
||||
args := []string{"run", "--rm", "-v", "/var/run/docker.sock:/var/run/docker.sock", riddler, image.Image, "/containers/" + image.Name}
|
||||
args := []string{"-v", "/var/run/docker.sock:/var/run/docker.sock", riddler, image.Image, "/containers/" + image.Name}
|
||||
// docker arguments
|
||||
args = append(args, "--cap-drop", "all")
|
||||
for _, cap := range image.Capabilities {
|
||||
|
||||
Reference in New Issue
Block a user