-
Notifications
You must be signed in to change notification settings - Fork 513
Open
Description
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/' | shThis 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 | shAlternatively, it would be nice if there were official Docker images for the CLI and libraries.
pulidogaby