Skip to content

Commit

Permalink
fix: libssl-dev dependency chain breaking across architectures (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcnc committed Feb 5, 2024
1 parent d10a1fa commit ae98ca0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ ENV LC_COLLATE=C.UTF-8

FROM base as builder
# Install build dependencies
RUN apt-get update && apt-get install -y --no-install-recommends --allow-downgrades libssl1.1="1.1.1f-1ubuntu2.20"
COPY --from=pg-dev /tmp /tmp
RUN apt-get install -y --no-install-recommends \
RUN apt-get update && \
rm -f /tmp/libssl-dev* && \
apt-get install -y --no-install-recommends \
/tmp/*.deb \
build-essential \
checkinstall \
Expand Down Expand Up @@ -926,4 +927,4 @@ RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccac
ccache -s && \
cp -r /ccache/* /tmp
FROM scratch as buildcache
COPY --from=stats /tmp /
COPY --from=stats /tmp /
2 changes: 1 addition & 1 deletion common.vars.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
postgres-version = "15.1.1.12"
postgres-version = "15.1.1.13"

0 comments on commit ae98ca0

Please sign in to comment.