Skip to content

Commit 0293fe5

Browse files
soedirgosweatybridge
authored andcommitted
fix(docker): missing ca-certificates
1 parent a8ae3a6 commit 0293fe5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Dockerfile

+7-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ WORKDIR /tmp/pgsql-http-${pgsql_http_release}
244244
RUN --mount=type=cache,target=/ccache,from=public.ecr.aws/supabase/postgres:ccache \
245245
make -j$(nproc)
246246
# Create debian package
247-
RUN checkinstall -D --install=no --fstrans=no --backup=no --pakdir=/tmp --nodoc
247+
RUN checkinstall -D --install=no --fstrans=no --backup=no --pakdir=/tmp --requires=libcurl3-gnutls --nodoc
248248

249249
####################
250250
# 08-plpgsql_check.yml
@@ -762,6 +762,12 @@ COPY --from=supautils /tmp/*.deb /tmp/
762762
# Build final image
763763
####################
764764
FROM base as production
765+
# Install essential packages
766+
RUN apt-get update && apt-get install -y --no-install-recommends \
767+
# Needed for anything using libcurl
768+
# https://github.com/supabase/postgres/issues/573
769+
ca-certificates \
770+
&& rm -rf /var/lib/apt/lists/*
765771

766772
# Setup extensions
767773
COPY --from=extensions /tmp /tmp

common.vars.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.53"
1+
postgres-version = "15.1.0.54-rc0"

0 commit comments

Comments
 (0)