Skip to content

Building with additional extensions? #12

Description

@mchaker

Hi, how does one add extensions besides gvisor to this image?

I tried building with the commands from the README but got stuck on the "make ... installer" step with some Make errors referring to number of arguments (number of EXTENSIONS container images I added?):

make EXTENSIONS="ghcr.io/siderolabs/gvisor:20250505.0@sha256:d7503b59603f030b972ceb29e5e86979e6c889be1596e87642291fee48ce380c ghcr.io/siderolabs/util-linux-tools:2.41.1 ghcr.io/siderolabs/iscsi-tools:v0.2.0" REGISTRY="my-local-registry" REGISTRY_USERNAME="my_user" installer

...

for platform in linux/arm64; do \
        arch=$(basename "${platform}") && \
        docker run --rm -t -v /dev:/dev -v /Users/mahdi/github/talos-rpi5/talos-builder/checkouts/talos/_out:/secureboot:ro -v /Users/mahdi/github/talos-rpi5/talos-builder/checkouts/talos/_out:/out -e SOURCE_DATE_EPOCH=1757825627 --network=host --privileged my-local-registry/my_user/imager:v1.10.7-1-g9377e46e0 installer --arch $arch --base-installer-image my-local-registry/my_user/installer-base:v1.10.7-1-g9377e46e0 --base-installer-image my-local-registry/my_user/installer-base:v1.10.7-1-g9377e46e0 --overlay-name=rpi5 --overlay-image=my-local-registry/my_user/sbc-raspberrypi5:7d04484-v1.10.0-1-ge21c9f2 --system-extension-image=ghcr.io/siderolabs/gvisor:20250505.0@sha256:d7503b59603f030b972ceb29e5e86979e6c889be1596e87642291fee48ce380c ghcr.io/siderolabs/util-linux-tools:2.41.1 ghcr.io/siderolabs/iscsi-tools:v0.2.0 ; \
done
Live child 0x6000015142a0 (image-installer) PID 78016
Error: accepts 1 arg(s), received 3

...

Do I need to wrap the extension image string in single quotes? Do I need to use commas/is there a specific separator character I should use?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions