Skip to content

Instantly share code, notes, and snippets.

@alecs
Last active July 22, 2022 11:10
Show Gist options
  • Save alecs/66e395c886133926732e26cd35e67d56 to your computer and use it in GitHub Desktop.
Save alecs/66e395c886133926732e26cd35e67d56 to your computer and use it in GitHub Desktop.
add-sqlite3-to-grafana-var-lib
#!/bin/bash
cd /var/lib/grafana/; mkdir sqtemp; apk fetch sqlite; tar -C sqtemp/ -xzf sqlite-*.apk ; mv sqtemp/usr/bin/sqlite3 sqlite3; rm -rf sqtemp sqlite-*.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment