Skip to content

Commit ae98ca0

Browse files
authored
fix: libssl-dev dependency chain breaking across architectures (supabase#877)
1 parent d10a1fa commit ae98ca0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,10 @@ ENV LC_COLLATE=C.UTF-8
106106

107107
FROM base as builder
108108
# Install build dependencies
109-
RUN apt-get update && apt-get install -y --no-install-recommends --allow-downgrades libssl1.1="1.1.1f-1ubuntu2.20"
110109
COPY --from=pg-dev /tmp /tmp
111-
RUN apt-get install -y --no-install-recommends \
110+
RUN apt-get update && \
111+
rm -f /tmp/libssl-dev* && \
112+
apt-get install -y --no-install-recommends \
112113
/tmp/*.deb \
113114
build-essential \
114115
checkinstall \
@@ -926,4 +927,4 @@ RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccac
926927
ccache -s && \
927928
cp -r /ccache/* /tmp
928929
FROM scratch as buildcache
929-
COPY --from=stats /tmp /
930+
COPY --from=stats /tmp /

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.1.12"
1+
postgres-version = "15.1.1.13"

0 commit comments

Comments
 (0)