Skip to content

Commit 12e8333

Browse files
committed
chore: fix plv8 build
1 parent 16f3cda commit 12e8333

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,11 +456,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
456456
ninja-build \
457457
git \
458458
libtinfo5 \
459+
libstdc++-10-dev \
459460
&& rm -rf /var/lib/apt/lists/*
460461
# Build from source
461462
WORKDIR /tmp/plv8-${plv8_release}
462463
ENV DOCKER=1
463464
RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccache \
465+
git init && \
466+
rm -rf deps/v8-cmake/ && \
467+
git submodule add https://github.com/bnoordhuis/v8-cmake.git deps/v8-cmake/ && \
468+
git submodule update --init --recursive && \
464469
make
465470
# Create debian package
466471
RUN checkinstall -D --install=no --fstrans=no --backup=no --pakdir=/tmp --nodoc

0 commit comments

Comments
 (0)