Skip to content

Commit

Permalink
chore: fix plv8 build
Browse files Browse the repository at this point in the history
  • Loading branch information
pcnc committed Feb 14, 2024
1 parent 16f3cda commit 12e8333
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12e8333

Please sign in to comment.