Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srenatus/duckdb-cli-alpine
experiment: build duckdb CLI for alpine, host on github releases, do not use yet
https://github.com/srenatus/duckdb-cli-alpine
Last synced: 11 days ago
JSON representation
experiment: build duckdb CLI for alpine, host on github releases, do not use yet
- Host: GitHub
- URL: https://github.com/srenatus/duckdb-cli-alpine
- Owner: srenatus
- License: apache-2.0
- Created: 2024-08-21T10:34:33.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-04T09:39:26.000Z (about 1 month ago)
- Last Synced: 2024-12-04T10:34:19.739Z (about 1 month ago)
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# duckdb CLI builds for alpine
This is a small build-only repo for creating alpine-compatible `duckdb`
binaries.## Why?
The official binaries don't work on alpine, and I couldn't find any
combination of glibc compat libs that would satisfy their needs.
Building `duckdb` on Alpine works, but it's annoying to have to do
that in every pipeline.## How to use
> [!WARNING]
> Don't forget `libstdc++`.```shell
apk add --no-progress libstdc++
curl -LO https://github.com/srenatus/duckdb-cli-alpine/releases/download/v1.0.0/duckdb-linux-amd64
curl -LO https://github.com/srenatus/duckdb-cli-alpine/releases/download/v1.0.0/json.duckdb_extension
chmod +x duckdb-linux-amd64
mv duckdb-linux-amd64 /usr/local/bin/duckdb
duckdb -c "INSTALL './json.duckdb_extension';"
```## Limitations
- only `json` extension is built, using the official build for other extensions
(such as through autoloading) **will fail**
- only linux/amd64## License
The small build code in this repo is Apache-2.0 licensed, but that
does not have anything to do with the duckdb sources -- their license
is [MIT](https://github.com/duckdb/duckdb?tab=MIT-1-ov-file#readme).