Skip to content

Commit

Permalink
docker: build extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed Jun 8, 2024
1 parent ab253a5 commit 88218dc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ RUN cd ~ && \
make -j$(grep -c ^processor /proc/cpuinfo) && make install && \
cd ~ && rm -rf sqlite-snapshot-202401231504 sqlite-snapshot-202401231504.tar.gz

COPY ./extensions /root/extensions

RUN cd /root/extensions && \
mkdir build && cd build && \
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/clib -DCMAKE_INSTALL_PREFIX=/clib ../ && \
make -j$(grep -c ^processor /proc/cpuinfo) && make install

FROM denoland/deno:latest as prod

ARG DENO_DEPLOYMENT_ID
Expand Down

0 comments on commit 88218dc

Please sign in to comment.