-
Notifications
You must be signed in to change notification settings - Fork 129
How to install this extinsion into official alpine docker container? #200
Unanswered
IlyaDeskov
asked this question in
Q&A
-
Tried to:
- apk add --no-cache git build-base clang llvm15-dev llvm15
- apk add sudo nano
- cd /tmp
- git clone --branch master https://github.com/pramsey/pgsql-http.git
- cd pgsql-http
- nano Makefile
- PG_CONFIG = /usr/local/bin/pg_config
- sudo make
But make fails with:
make: curl-config: Operation not permitted
make: /usr/local/bin/pg_config: Operation not permitted
make: *** No targets. Stop.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
The following works for me:
FROM postgres:alpine
RUN set -eux \
&& wget -O pgsql-http.tgz https://github.com/pramsey/pgsql-http/archive/refs/heads/master.tar.gz \
&& tar zxfv pgsql-http.tgz \
&& cd pgsql-http-master \
&& apk add --no-cache --virtual .build-deps \
clang19 \
g++ \
llvm19 \
make \
curl-dev \
&& make \
&& make install \
&& cd .. \
&& rm -rf pgsql-http* \
&& apk del \
clang19 \
g++ \
llvm19 \
make \
curl-dev
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment