From b620d8505ad7208d3d0f993f65a2fa5c7c704022 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Tue, 16 Jul 2019 09:57:31 -0400 Subject: [PATCH] build and link a newer sqlite3 to make Django happy --- tools/docker-compose/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/docker-compose/Dockerfile b/tools/docker-compose/Dockerfile index 1944ae9b4e..413be8b7da 100644 --- a/tools/docker-compose/Dockerfile +++ b/tools/docker-compose/Dockerfile @@ -106,6 +106,14 @@ RUN cd /tmp && VENV_BASE="/venv" make requirements_dev RUN npm install -g n RUN n 10.15.0 +# Install a newer SQLite to make Django happy (centos7 has a really old one, +# and we can probably stop doing this in centos8) +RUN curl -O "https://sqlite.org/2019/sqlite-autoconf-3290000.tar.gz" +RUN tar zxvf sqlite-autoconf-3290000.tar.gz +RUN cd sqlite-autoconf-3290000 && ./configure && make && make install +RUN mv -f /usr/local/lib/libsqlite3.so.0 /lib64/ +RUN mv -f /usr/local/lib/libsqlite3.so.0.8.6 /lib64/ + RUN yum -y remove cyrus-sasl-devel \ gcc \ gcc-c++ \