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

Bump pg_net to 0.10.0 #751

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions contrib/pg_net/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@ FROM quay.io/coredb/c-builder:pg${PG_VERSION}
USER root

# Install dependencies
RUN apt-get update && apt-get install -y libcurl4-openssl-dev
RUN apt-get update && apt-get install -y wget

ARG RELEASE=v0.7.1
# Install libcurl version 7.83.0
RUN wget https://curl.se/download/curl-7.83.0.tar.gz && \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be a variable or arg with this version number so in the future we can just update the one line?

tar -xvf curl-7.83.0.tar.gz && \
cd curl-7.83.0 && \
./configure --with-openssl && \
make && \
make install

ARG RELEASE=v0.10.0

# Clone repository
RUN git clone https://github.com/supabase/pg_net.git
Expand Down
4 changes: 2 additions & 2 deletions contrib/pg_net/Trunk.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[extension]
name = "pg_net"
version = "0.7.1"
version = "0.10.0"
repository = "https://github.com/supabase/pg_net"
license = "Apache-2.0"
description = "A PostgreSQL extension providing an async networking interface accessible via SQL using a background worker and curl."
categories = ["connectors"]
preload_libraries = ["pg_net"]
loadable_libraries = [{ library_name = "pg_net", requires_restart = true }]

[dependencies]
apt = ["libcurl4", "libc6"]
Expand Down
Loading