Skip to content

Instantly share code, notes, and snippets.

@tenken
Created August 31, 2018 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tenken/53c3064db922b95daeb0b3a87e6bd442 to your computer and use it in GitHub Desktop.
Save tenken/53c3064db922b95daeb0b3a87e6bd442 to your computer and use it in GitHub Desktop.
# A portion of my lando file
#
name: webextract2
recipe: lemp
config:
webroot: public
database: mariadb
# For flex update error on 08-17-2018
php: '7.2'
services:
appserver:
# type: nginx:stable
run_as_root:
# Use newer sqlite3 with JSON support?
# https://stackoverflow.com/a/49907482
# php7.0-sqlite3
#docker-php-ext-install pdo_sqlite && \
# docker-php-ext-enable pdo_sqlite && \
- "set -x && \
export DEBIAN_FRONTEND=noninteractive; \
apt update && \
apt -yq install libsqlite3-0 sqlite3 && \
cd /tmp && \
wget http://ftp.de.debian.org/debian/pool/main/s/sqlite3/libsqlite3-0_3.24.0-1_amd64.deb && \
dpkg -x libsqlite3-0_3.24.0-1_amd64.deb . && \
mv /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6.old && \
cp /tmp/usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 && \
rm -rf /tmp/* && \
ldconfig; \
set +x
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment