kou commented on issue #193:
URL: 
https://github.com/apache/arrow-flight-sql-postgresql/issues/193#issuecomment-2570484451

   Could you use the main not released 0.1.0.tar.gz?
   
   ```dockerfile
   FROM ubuntu:24.04
   
   
   RUN set -ex; \
       apt-get update && apt-get install -y -V \
       ca-certificates \
       lsb-release \
       wget \
       gnupg \
       meson \
       ninja-build \
       postgresql-common \
       apt-transport-https \
       cmake \
       build-essential \
       libkrb5-dev \
       && wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id 
--short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release 
--codename --short).deb \
       && apt-get install -y -V ./apache-arrow-apt-source-latest-$(lsb_release 
--codename --short).deb \
       && apt-get clean
   
   # Add PostgreSQL APT repository and key manually (bypass interactive script)
   RUN echo "deb https://apt.postgresql.org/pub/repos/apt/ $(lsb_release -c 
-s)-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \
       && wget --quiet -O - 
https://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | tee 
/etc/apt/trusted.gpg.d/pgdg.asc
   
   RUN echo "deb https://packagecloud.io/timescale/timescaledb/ubuntu/ 
$(lsb_release -c -s) main" | tee /etc/apt/sources.list.d/timescaledb.list
   
   RUN wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | 
 gpg --dearmor -o /etc/apt/trusted.gpg.d/timescaledb.gpg
   
   RUN  apt update
   
   RUN  apt install -y postgresql-server-dev-17
   # Set noninteractive environment to prevent timezone prompts
   ENV DEBIAN_FRONTEND=noninteractive
   
   RUN  apt-get install -y timescaledb-2-postgresql-17='2.17.0*' 
timescaledb-2-loader-postgresql-17='2.17.0*' postgresql-client-17
   
   # Install Apache Arrow and related libraries
   RUN set -ex; \
       apt-get update && apt-get install -y -V \
       git  \
       libarrow-flight-sql-dev  \
       && apt-get clean
   
   
   # Download and build Apache Arrow Flight SQL adapter for PostgreSQL
   RUN git clone https://github.com/apache/arrow-flight-sql-postgresql.git \
       && meson setup \
       --prefix=/usr/local \
       -Dpostgresql_dir=$(pg_config --bindir)/.. \
       arrow-flight-sql-postgresql.build \
       arrow-flight-sql-postgresql \
       && meson compile -C arrow-flight-sql-postgresql.build \
       && meson install -C arrow-flight-sql-postgresql.build
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to