Skip to content

Commit

Permalink
check sqlite load path
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Jul 23, 2024
1 parent ec6932e commit 696a2bb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ubuntu-22.04-risc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ RUN pyenv install 3.12

RUN pyenv global 3.12 3.11 3.10 3.9 3.8

RUN ldd $(python3.8 -c 'import _sqlite3; print(_sqlite3.__file__)')
RUN ldd $(python3.9 -c 'import _sqlite3; print(_sqlite3.__file__)')
RUN ldd $(python3.10 -c 'import _sqlite3; print(_sqlite3.__file__)')
RUN ldd $(python3.11 -c 'import _sqlite3; print(_sqlite3.__file__)')
RUN ldd $(python3.12 -c 'import _sqlite3; print(_sqlite3.__file__)')
# make sure sqlite is loaded from the expected path
RUN ldd $(python3.8 -c 'import _sqlite3; print(_sqlite3.__file__)') | grep /opt/sqlite3/lib/
RUN ldd $(python3.9 -c 'import _sqlite3; print(_sqlite3.__file__)') | grep /opt/sqlite3/lib/
RUN ldd $(python3.10 -c 'import _sqlite3; print(_sqlite3.__file__)') | grep /opt/sqlite3/lib/
RUN ldd $(python3.11 -c 'import _sqlite3; print(_sqlite3.__file__)') | grep /opt/sqlite3/lib/
RUN ldd $(python3.12 -c 'import _sqlite3; print(_sqlite3.__file__)') | grep /opt/sqlite3/lib/

ENV PATH="/root/.cargo/bin:${PATH}"
ENV RUST_BACKTRACE=1
Expand Down

0 comments on commit 696a2bb

Please sign in to comment.