Skip to content

Commit 3a8685e

Browse files
authored
Update Dockerfile.php-83
1 parent 1475b82 commit 3a8685e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

php/Dockerfile.php-83

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN wget https://www.sqlite.org/2025/$SQL_LITE_VERSION.tar.gz && \
2727

2828
# Build SQLite
2929
WORKDIR $SQL_LITE_VERSION
30-
RUN ./configure && \
30+
RUN CFLAGS="-O2 -DSQLITE_ENABLE_COLUMN_METADATA=1" ./configure && \
3131
make
3232

3333
FROM debian:bookworm
@@ -58,6 +58,8 @@ RUN sed -i '1i export PATH="$HOME/.config/composer/vendor/bin:$PATH"' /root/.bas
5858

5959
COPY --from=builder /tmp/$SQL_LITE_VERSION /tmp/$SQL_LITE_VERSION
6060
RUN cd /tmp/$SQL_LITE_VERSION && make install && rm -rf /tmp/$SQL_LITE_VERSION
61+
# Hack to use the right version.
62+
RUN mv /usr/local/lib/libsqlite3.so /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
6163

6264
# sshd
6365
RUN DEBIAN_FRONTEND=noninteractive apt-get autoclean

0 commit comments

Comments
 (0)