Skip to content

Commit fdf5701

Browse files
committed
docker: add LIBSQL_VERSION to docker image
Our Dockerfile suffered from bitrot after LIBSQL_VERSION file was introduced - let's fix.
1 parent af9a7bb commit fdf5701

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile-wasm-udf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ WORKDIR /home/libsql
1111
ADD src src
1212
ADD ext ext
1313
ADD tool tool
14+
ADD VERSION LIBSQL_VERSION
1415

1516
RUN apt-get update
1617
RUN apt-get install -y tcl8.6-dev build-essential autoconf
1718

18-
#I'm sorry for that
19+
# To make the build system happy
1920
RUN ln -s /bin/grep /usr/bin/grep
2021
RUN ln -s /bin/sed /usr/bin/sed
2122
RUN ln -sf /bin/bash /bin/sh
@@ -24,5 +25,5 @@ COPY manifest manifest.uuid VERSION configure.ac Makefile.in \
2425
libtool sqlite3.pc.in sqlite_cfg.h.in install-sh config.guess config.sub ltmain.sh .
2526

2627
RUN autoconf
27-
RUN ./configure --enable-wasm-runtime
28-
RUN make sqlite3
28+
RUN ./configure --enable-wasm-runtime --enable-releasemode --enable-all
29+
RUN make

0 commit comments

Comments
 (0)