File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -754,20 +754,18 @@ RUN checkinstall -D --install=no --fstrans=no --backup=no --pakdir=/tmp --nodoc
754
754
# ###################
755
755
# internal/supautils.yml
756
756
# ###################
757
- FROM base as supautils
758
- # Download package archive
759
- ARG supautils_release
760
- ADD "https://github.com/supabase/supautils/releases/download/v${supautils_release}/supautils-v${supautils_release}-pg${postgresql_major}-${TARGETARCH}-linux-gnu.deb" \
761
- /tmp/supautils.deb
762
-
763
- FROM base as supautils-source
757
+ FROM ccache as supautils-source
764
758
ARG supautils_release
765
759
ARG supautils_release_checksum
766
760
ADD --checksum=${supautils_release_checksum} \
767
761
"https://github.com/supabase/supautils/archive/refs/tags/v${supautils_release}.tar.gz" \
768
762
/tmp/supautils.tar.gz
769
763
RUN tar -xvf /tmp/supautils.tar.gz -C /tmp && \
770
764
rm -rf /tmp/supautils.tar.gz
765
+ # Install build dependencies
766
+ RUN apt-get update && apt-get install -y --no-install-recommends \
767
+ libicu-dev \
768
+ && rm -rf /var/lib/apt/lists/*
771
769
# Build from source
772
770
WORKDIR /tmp/supautils-${supautils_release}
773
771
RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccache \
@@ -820,7 +818,7 @@ COPY --from=hypopg-source /tmp/*.deb /tmp/
820
818
COPY --from=pg_repack-source /tmp/*.deb /tmp/
821
819
COPY --from=pgvector-source /tmp/*.deb /tmp/
822
820
COPY --from=pg_tle-source /tmp/*.deb /tmp/
823
- COPY --from=supautils /tmp/*.deb /tmp/
821
+ COPY --from=supautils-source /tmp/*.deb /tmp/
824
822
825
823
# ###################
826
824
# Build final image
You can’t perform that action at this time.
0 commit comments