From 12e8333cc914f7eb5420ab69412dcba3986bfd72 Mon Sep 17 00:00:00 2001 From: Paul Cioanca Date: Wed, 14 Feb 2024 11:27:50 +0000 Subject: [PATCH] chore: fix plv8 build --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 47f366778..70669c5fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -456,11 +456,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ninja-build \ git \ libtinfo5 \ + libstdc++-10-dev \ && rm -rf /var/lib/apt/lists/* # Build from source WORKDIR /tmp/plv8-${plv8_release} ENV DOCKER=1 RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccache \ + git init && \ + rm -rf deps/v8-cmake/ && \ + git submodule add https://github.com/bnoordhuis/v8-cmake.git deps/v8-cmake/ && \ + git submodule update --init --recursive && \ make # Create debian package RUN checkinstall -D --install=no --fstrans=no --backup=no --pakdir=/tmp --nodoc