SQLite command line and tools
2.8K
Build every released version of SQLite and packaged as a docker image
Using the sqlite3 bash script contained in this repository an image can be used similarly to the regular sqlite3 cli interface. There are some environment variables that can be provided to specify paths, versions among other things.
SQLITE_DOCKER_COMMAND - Specify the docker command to run. Defaults to dockerSQLITE_DOCKER_REGISTRY - Specify the docker repository to use. Defaults to docker.io/AndreSteenveldSQLITE_VERSION - Specify the version of SQLite (image) to use. Defaults to latestSQLITE_ROOT - What is mounted under /- inside the container. Defaults to /SQLITE_WORKDIR - The path to run the CLI in. Defaults to /-/$PWDWhen running from a windows you might need to set the SQLITE_DOCKER variable to winpty docker.
make bootstrap - Create a image with a fresh checkout of SQLite
make sqlite-releases - Dump all "version" tags from the repository in to a file (./sqlite-releases)
make build SQLITE_VERSION=<tag name> SQLITE_TAG=<image tag> - Create a docker image from "SQLITE_VERSION" with image tag "SQLITE_TAG"
Building everything
cat ./sqlite-releases | xargs \
--replace=@@ \
--max-procs=$(lscpu --json | jq '.lscpu[4].data | tonumber | . - 1' ) \
bash -c \
'make build SQLITE_VERSION="@@" SQLITE_TAG=$(sed "s/version-//" <<<"@@")'
Content type
Image
Digest
Size
10.4 MB
Last updated
almost 6 years ago
docker pull andresteenveld/sqlite:3.9.3