Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: libssl-dev dependency chain breaking across architectures #877

Merged
merged 14 commits into from
Feb 5, 2024
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"
Loading