build and link a newer sqlite3 to make Django happy

This commit is contained in:
Ryan Petrello 2019-07-16 09:57:31 -04:00
parent a4b2d6bf88
commit b620d8505a
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -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++ \