@basetenlabs/sandbox - v0.3.0
    Preparing search index...

    Interface ImagePushBuilderRequest

    ImagePushRequest that builds an ImageBuilder's Dockerfile and files.

    interface ImagePushBuilderRequest {
        builder: ImageBuilder;
        callOptions?: CallOptions;
        name: string;
        pollIntervalMs?: number;
        tempFile?: boolean;
        timeoutMs?: number;
        wait?: boolean;
    }

    Hierarchy (View Summary)

    Index
    builder: ImageBuilder

    Builder whose Dockerfile and files make up the build context, which is zipped.

    callOptions?: CallOptions
    name: string

    Repository name. Pushing to an existing name adds a new version to it.

    pollIntervalMs?: number

    Milliseconds between checks. Defaults to 3s.

    tempFile?: boolean

    Whether to zip into a temporary file, removed once uploaded, when the builder has local files or directories. Without them, the build context is always zipped in memory. Defaults to true. Needs Node's fs.openAsBlob.

    timeoutMs?: number

    Milliseconds to wait before giving up. Giving up does not stop the image's processing. Defaults to 900s.

    wait?: boolean

    Whether to return only once the image is ready to use, throwing ImageBuildError if it fails. Defaults to true.