Skip to content

install.duckdb.org could support specific versions #5576

@jelder

Description

@jelder

I would like to be able to install a specific version of DuckDB CLI more easily. My use case is that I'm Dockerizing a script that talks to MotherDuck, which doesn't yet support the latest version (1.3.2).

The workaround I'm using is to modify the script before running it:

RUN curl https://install.duckdb.org | sed 's/VER=.*$/VER=1.3.1/' | sh

This is obviously quite fragile. I could just use the direct download URL, but since my development machine's architecture doesn't necessarily match that of the production environment, I would have to reproduce the Arm/Intel check.

Some "curl | bash" installers allow passing arguments via env vars, for example:

RUN VER=1.3.1 https://install.duckdb.org | sh

Alternatively, it would be nice if there were official Docker images for the CLI and libraries.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions