Skip to content

Commit df40091

Browse files
committed
fix: add recent libsqlite to image
1 parent cc77955 commit df40091

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/helpers/docker/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ RUN set -x \
3838
&& rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc \
3939
&& chmod +x /usr/local/bin/gosu \
4040
&& apt-get purge -y --auto-remove wget
41+
42+
# install fresh libsqlite3
43+
RUN apt install alien
44+
RUN wget -O libsqlite3.rpm https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/libsqlite3-0-3.50.3-1.1.x86_64.rpm
45+
RUN alien -d libsqlite3.rpm
46+
RUN dpkg -i libsqlite3.dpkg
47+
RUN sudo apt --fix-broken install
48+
RUN rm libsqlite3.rpm
4149
COPY --from=tmp --chown=supertokens /usr/lib/supertokens /usr/lib/supertokens
4250
COPY --from=tmp --chown=supertokens /usr/bin/supertokens /usr/bin/supertokens
4351
COPY ./supertokens-postgresql-plugin/.github/helpers/docker/docker-entrypoint.sh /usr/local/bin/

0 commit comments

Comments
 (0)